0.0.1 • Published 9 years ago

on-body v0.0.1

Weekly downloads
143
License
MIT
Repository
github
Last release
9 years ago

on-body

Callback when document.body exists.

Installation

$ component install segmentio/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