actuate icon indicating copy to clipboard operation
actuate copied to clipboard

feature request: onStart

Open jarbot opened this issue 9 years ago • 3 comments

It would be nice if there was onStart callback once the delay() was complete.

jarbot avatar Nov 10 '15 23:11 jarbot

Same wish. @jgranick Trying to work out on my own. https://github.com/buckle2000/actuate

buckle2000 avatar Mar 13 '16 13:03 buckle2000

Maybe onStart() is a convenient, but currently there is a way to get what you want:

var onStart = function () {};
Actuate.timer(delayTime).onComplete(onStart);
Actuate.tween(target).delay(delayTime);

Also you can control precedence ( I suppose) - if you transpose the lines above, onStart() will be called after the targets properties initialization.

T1mL3arn avatar May 14 '16 11:05 T1mL3arn

@T1mL3arn you are right

buckle2000 avatar May 14 '16 11:05 buckle2000