Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

es6-docready

nickeljew1.2kMIT1.0.1

Document ready listener using plain javascript and ES6 module syntax

docready, DocReady, docReady, doc-ready, document-ready, es6

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