Have ideas to improve npm?Join in the discussion! »

    angular-smart-scroll

    0.0.5 • Public • Published

    angular-smart-scroll

    Smart infinite scroll directive for Angular.js that is customizable to support nested, horizontal, vertical, and/or bidirectional scrolls

    Build Status Dependency Status Coverage Status githalytics.com alpha

    Smart Infinite Scroll for AngularJS

    View examples!

    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

    Optional

    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 bower
    

    Then install local dependencies

    $ npm install
    

    Running tests

    After installing global and local dependencies, run the tests:

    $ grunt test
    

    To run tests automatically on every file change:

    $ grunt dev
    

    Building Production Files

    $ grunt build
    

    Contributing

    Feel free to create a pull request with unit tests with 100% code coverage!

    License

    (The MIT License)

    Copyright (c) 2014 Joon Ho Cho

    Install

    npm i angular-smart-scroll

    DownloadsWeekly Downloads

    6

    Version

    0.0.5

    License

    MIT

    Last publish

    Collaborators

    • avatar