element-is-ready

1.0.0 • Public • Published

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 
});

Package Sidebar

Install

npm i element-is-ready

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • prashantpalikhe