This package has been deprecated

Author message:

WARNING: This package has been renamed. Install scroll-hilo instead; see https://github.com/pirxpilot/scroll-hilo

code42day-hilo

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i code42day-hilo

Weekly Downloads

2

Version

1.0.1

License

MIT

Last publish

Collaborators

  • deprecated.packages