/es6-docready

Document ready listener using plain javascript and ES6 module syntax

Primary LanguageJavaScriptMIT LicenseMIT

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