Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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