Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 310 Bytes

README.md

File metadata and controls

21 lines (11 loc) · 310 Bytes

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