element-is-ready
v1.0.0
Published
Do something when an element of a given selector is created and added to the DOM.
Downloads
1
Maintainers
Readme
element-is-ready
Do something when an element of a given selector is created and added to the DOM.
Install
$ npm install --save element-is-ready
Usage
const elementIsReady = require('element-is-ready');
elementIsReady('#myElement').then((element) => {
// .. do something with element
});