README
Jo - Scroll Events
Sample usage jo-scrollevents.surge.sh
Installation and usage
Installation
yarn add jo-scrollevents
Usage
import ScrollEvents from 'jo-scrollevents';
ScrollEvents({
// el
// onScroll
});
Core components
Dependencies
Releases
- 1.0.0: scrollingElement, scrollingPosition, direction
- 1.1.0: gap
- 1.2.0: safe
- 1.4.0: changedDirection
- 1.7.0: set values
- 1.8.0: onlyOnDirection
- 2.0.0: relative