angular-stagger

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

Usage no npm install needed!

<script type="module">
  import angularStagger from 'https://cdn.skypack.dev/angular-stagger';
</script>

README

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