Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 4 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 (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-05-29T23:27:34.000Z (over 7 years ago)
- Last Synced: 2024-11-06T07:08:26.039Z (about 2 months ago)
- Language: JavaScript
- Size: 56.6 KB
- Stars: 1
- Watchers: 5
- 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