Skip to content

Commit

Permalink
Updated README with new duScrollBottomSpy setting.
Browse files Browse the repository at this point in the history
  • Loading branch information
oblador committed Apr 24, 2015
1 parent 18a42a2 commit 4d21748
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,13 @@ To change default offset (in pixels) for the `du-smooth-scroll` directive:
angular.module('myApp', ['duScroll']).value('duScrollOffset', 30);
```

### Bottom spy
To make the last `du-scrollspy` link active when scroll reaches page/container bottom:

```js
angular.module('myApp', ['duScroll']).value('duScrollBottomSpy', true);
```

Events
------

Expand Down

0 comments on commit 4d21748

Please sign in to comment.