timeline
orchestrate a group of animations. Timelines themselves implement the animation API and therefore can be nested arbitrarily.
Installation
With your favorite package manager:
-
packin:
packin add jkroso/timeline
-
component:
component install jkroso/timeline
-
npm:
npm install jkroso/timeline
then in your app:
var timeline = require('timeline')
API
timeline([animations])
create a timeline with an option Array of initial animations
Timeline.add(start, end, animation)
add an animation to the timeline
Timeline.render(n)
render point n
on the timeline
Timeline.then([anim]:Animation|Function)
create a new timeline which will start when this one completes