Skip to content

TooTallNate/on-body

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Callback when document.body exists.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 96.5%
  • CSS 3.0%
  • Other 0.5%