1.0.1 • Published 9 years ago

code42day-hilo v1.0.1

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

hilo

Add .bottom and .top classes to document body when page is all the way up or down. Check out the live demo

Installation

Install with component(1):

$ component install code42day/hilo

API

require('hilo')();

document.body will have .top class when the top of the page is displayed and the .bottom class when the bottom of the page is displayed

License

MIT