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

✅ completion callback to spring and timing #272

Merged
merged 3 commits into from
Mar 23, 2022
Merged

Conversation

wcandillon
Copy link
Contributor

fixes #239

@wcandillon wcandillon requested a review from chrfalch March 18, 2022 07:40
@wcandillon wcandillon self-assigned this Mar 18, 2022
@wcandillon wcandillon changed the title Add completion callback to spring and timing ✅ completion callback to spring and timing Mar 18, 2022
Copy link
Contributor

@chrfalch chrfalch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a bit unsure about renaming AnimationParams to TimingParams. I'm not sure if TimingParams are equal to AnimationParams :)

AnimationParams controls interpolation and control values (looping, yoyo) and has therefore no real connection to timing parameters which are duration and easing. I would believe that a spring or other custom animation could also benefit from using this type without it having to be related to timing.

Other than that I'm fine with the changes and addition of a callback to the animations!

Base automatically changed from fix/spring-signature to main March 23, 2022 13:36
@chrfalch chrfalch merged commit 66d1491 into main Mar 23, 2022
@chrfalch chrfalch deleted the feat/completion-callback branch March 23, 2022 13:49
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

Successfully merging this pull request may close these issues.

runTiming animation completion callback/promise
2 participants