Angular Core Dependency: ^1.5.8
Module License: MIT
Added by: Sam Deering
ngInfiniteScroll is a directive for AngularJS to evaluate an expression when the bottom of the directive's element approaches the bottom of the browser window, which can be used to implement infinite scrolling.
Check out the running demos at the ngInfiniteScroll web site.
ngInfinite Scroll follows semantic versioning and uses the following versioning scheme:
The download page allows you to pick among various versions and specify which releases are stable (not including pre-release builds).
Download ngInfiniteScroll from the download page on the ngInfiniteScroll web site or install it with:
Include the script tag on your page after the AngularJS and jQuery script tags (ngInfiniteScroll requires jQuery to run)
Ensure that your application module specifies
infinite-scroll as a dependency:
Use the directive by specifying an
infinite-scroll attribute on an element.
<div infinite-scroll="myPagingFunction()" infinite-scroll-distance="3"></div>
Note that neither the module nor the directive use the
ng prefix, as that prefix is reserved for the core Angular module.
ngInfiniteScroll accepts several attributes to customize the behavior of the directive; detailed instructions can be found on the ngInfiniteScroll web site.
ngInfiniteScroll is licensed under the MIT license. See the LICENSE file for more details.
ngInfiniteScroll uses Protractor for testing. Note that you will need to have Chrome browser, and the
grunt-cli npm package installed globally if you wish to use grunt (
npm install -g grunt-cli). Then, install the dependencies with
grunt test:protractor-local- run tests
Thank you very much @pomerantsev for your work on these Protractor tests.
Module stats last updated: 2017-09-13 15:00:15