es6-docready
v1.0.1
Published
Document ready listener using plain javascript and ES6 module syntax
Downloads
649
Maintainers
Readme
ES6-DocReady
A replacement, using plain javascript and ES6 module syntax, for jQuery's .ready() to run codes after the document is ready.
Installation
npm install es6-docready --save
Example
import DocReady from 'es6-docready'
DocReady( () => {
...
} )
License
MIT