https://github.com/grrr-amsterdam/angular-scroll-events
A collection of Angular directives that act on various scroll events.
https://github.com/grrr-amsterdam/angular-scroll-events
Last synced: 14 days ago
JSON representation
A collection of Angular directives that act on various scroll events.
- Host: GitHub
- URL: https://github.com/grrr-amsterdam/angular-scroll-events
- Owner: grrr-amsterdam
- Created: 2014-09-24T11:19:55.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2017-05-29T23:27:34.000Z (over 8 years ago)
- Last Synced: 2025-04-15T09:45:52.106Z (7 months ago)
- Language: JavaScript
- Size: 56.6 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Angular Scroll Events
A collection of Angular directives that act on various scroll events.
Grab the minified distribution, link it in your project and make `grrrScroll` a dependency in your
project:
```
angular.module('myApp', ['grrrScroll']);
```
## Directives
### Keep-scroll
A directive for remembering scroll position between page views.
Sometimes it makes sense to send a user back to the same scroll position when they come back to a
list page. Add the `keep-scroll` directive to elements where you want to remember the scroll
position. After navigating away from the page, the scroll position will be stored.
Check out the example files for more info.
### Infinite scroll
The usual. You guys know what infinite scroll means.
## To do
- Make example files viewable on Github
- Add tests
- Make into a bower package
- Add more directives