Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: onStart #66

Open
jarbot opened this issue Nov 10, 2015 · 3 comments
Open

feature request: onStart #66

jarbot opened this issue Nov 10, 2015 · 3 comments

Comments

@jarbot
Copy link

jarbot commented Nov 10, 2015

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

@buckle2000
Copy link

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

@T1mL3arn
Copy link

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.

@buckle2000
Copy link

@T1mL3arn you are right

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants