on-body-ready

1.0.3 • Public • Published

on-body

Callback when document.body exists.

Installation

$ npm install wcjohnson11/on-body

API

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

Readme

Keywords

none

Package Sidebar

Install

npm i on-body-ready

Weekly Downloads

2

Version

1.0.3

License

MIT

Last publish

Collaborators

  • wcjohnson11