Description

Run timeline

Usage

Parameters

  • onFinish {Function} optional

    (optional) Calls the function when the animation is completed

Example

var timeline = canvas.Timeline.new(el);
timeline.to({x: 20}, 60).call(function() {
    console.log("finish !");
});

Discussion