theshock/libcanvas — Issue #26: Delaying animation start?
Author: stevozilik
Created: 2012-02-09 01:13:37+00:00
State: open

Is there a way to delay animation start? Something like this:

shape.animate({
props: {
stroke: 'rgba(255, 210, 0, 0)'
},
time: 1000,
onFinish: function (prevAnim, prevProps) {
lastSectorYellow.animate({
props: prevProps,
time: 1000,
start: 1000, <<<<<<<<<<<<<<<<<<<<<<<<<<<
onFinish: prevAnim.repeat
});
}
});

so the object stays in the animated state for a period of time, rather then reverting back immediately