Skip to content

Knorcedger/angular-stagger

Repository files navigation

angular-stagger Build Status

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

License

MIT

Generated by package-json-to-readme

About

An angular service that pushes elements in an array with a delay to create staggering animations

Resources

License

Stars

Watchers

Forks

Packages

No packages published