on-body-ready
v1.0.3
Published
callback when document.body exists
Downloads
41
Readme
on-body
Callback when document.body exists.
Installation
$ npm install wcjohnson11/on-bodyAPI
onBody(Function)
Will call your function with fn(document.body) when the <body> element has been created. This way you can easily append things to the body even if the Javascript was added in the <head>.
License
MIT
