0.0.5 • Published 11 years ago
angular-smart-scroll v0.0.5
angular-smart-scroll
Smart infinite scroll directive for Angular.js that is customizable to support nested, horizontal, vertical, and/or bidirectional scrolls
Smart Infinite Scroll for AngularJS
Getting Started
To get started, add angular-smart-scroll.js to your webpage:
<script type="text/javascript" src="path/to/angular-smart-scroll.js"></script>And add the module jun.smartScroll to your app's dependencies:
angular.module('MyApp', ['jun.smartScroll']);Dependencies
Required
- AngularJS (https://github.com/angular/angular.js)
- jQuery (https://github.com/jquery/jquery)
Optional
- For
_.throttlesupport- Underscore (https://github.com/jashkenas/underscore)
- or Lodash (https://github.com/lodash/lodash)
Development
To set up the development environment, run these commands once:
Installation
First, install global dependencies (grunt and bower) if you have not already.
$ npm install -g grunt-cli bowerThen install local dependencies
$ npm installRunning tests
After installing global and local dependencies, run the tests:
$ grunt testTo run tests automatically on every file change:
$ grunt devBuilding Production Files
$ grunt buildContributing
Feel free to create a pull request with unit tests with 100% code coverage!
License
(The MIT License)
Copyright (c) 2014 Joon Ho Cho


