angular-iscroll

AngularJS module that enables iScroll 5 functionality, wrapping it in an easy-to-use directive.
Homepage:
1 person uses it
Author: 185316?v=3 mtr

angular-iscroll

AngularJS module that enables iScroll 5 functionality, wrapping it in an easy-to-use directive

Install

Install the angular-iscroll NPM package bash npm install --save angular-iscroll

Or, to check out a development version, start by cloning the repository, by bash git clone git@github.com:mtr/angular-iscroll.git Then, install the necessary dependencies: bash cd angular-iscroll/ npm install After that, you should have a dist directory with a subdirectory named lib: dist/ └── lib ├── angular-iscroll.js └── angular-iscroll.min.js

Build

To rebuild the library, run bash gulp # or "gulp watch" (to rebuild on every file change)

To build the examples, run bash gulp examples # (will rebuild on every file change)

Demo

You may have a look at core-layout (GitHub repo), an Angular demo app that shows how you can use the iscroll directive in a responsive-design web-app with support for both drawers (slide-out menus) and modals. For example, the demo shows how to handle DOM content generated dynamically through ngRepeat.

comments powered by Disqus
This page was last updated about 2 years ago.