Angular directives for scroll events
Utility library to add support for scroll-up
and scroll-down
events
Installation
- Install 'g1b.angular-scroll-events' with npm or yarn
npm install angular-scroll-events
or:
yarn add angular-scroll-events
- Add 'g1b.scroll-events' module to your app config
angular
- Use 'scroll-up' and/or 'scroll-down' directive in a view
↑ Scroll Up
or:
↓ Scroll Down
Example
See index.html for an example implementation or click here for an interactive demo