angular-stagger
v1.0.1
Published
An angular service that pushes elements in an array with a delay to create staggering animations
Downloads
5
Readme
angular-stagger
An angular service that pushes elements in an array with a delay to create staggering animations
Installation
Download node at nodejs.org and install it, if you haven't already.
npm install angular-stagger --save
Usage
angular.module('todoApp', ['stagger'])
.controller('TodoListController', function($scope, stagger) {
var todos = [
{text:'learn angular', done:true},
{text:'build an angular app', done:false}];
stagger($scope, 'todos', todos, 300);
});
Tests
npm install
npm test
Dev Dependencies
- eslint: An AST-based pattern checker for JavaScript.
- eslint-config-google: ESLint shareable config for the Google style
License
MIT
Generated by package-json-to-readme