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

Expose amator's done option? #156

Closed
jdgarcia opened this issue Dec 19, 2017 · 2 comments
Closed

Expose amator's done option? #156

jdgarcia opened this issue Dec 19, 2017 · 2 comments

Comments

@jdgarcia
Copy link

I need to do something after the animation is done but don't see a way of doing it with the current options, outside of doing something like setTimeout using the duration time.
I noticed aminate function accepts a done option that isn't being used by this package.

@stipsan
Copy link
Member

stipsan commented Jan 2, 2018

Yeah I plan on exposing it in some form here: #155

@stipsan
Copy link
Member

stipsan commented Jul 18, 2018

See the Promise interface in smooth-scroll-into-view-if-needed https://github.com/stipsan/smooth-scroll-into-view-if-needed#usage

@stipsan stipsan closed this as completed Jul 18, 2018
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

2 participants