0.0.3 • Published 8 years ago
angular-floatingscroll v0.0.3
angular-floatingscroll
This is an Angular 1.x directive wrapper and package for Amphiluke's floatingscroll jQuery plugin.
Note that this uses jQuery proper, not jQLite.
Installation
npm install angular-floatingscroll
You'll need to include the ngFloatingScroll module as a dependency in your Angular app (and the JS in your build of course). You'll also need to include the floatingscroll JS and CSS in your build process for now.
Usage
This is as easy as:
<div ng-floating-scroll></div>
Currently, the directive will watch the height of the element and update the floating scroll on change.
License
MIT