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: implement group-level onComplete callback #693

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

hoonsbory
Copy link

Hello, I’m always using TweenJS well!

While using it, I thought of a feature that I would like to see added, so I decided to create it myself!

This PR adds a onComplete property to Tween.Group, allowing you to specify a callback function that will be called when all tweens in the group have completed. Individual tween onComplete callbacks will still be triggered as expected

…roup and individual tween completion callbacks
@hoonsbory hoonsbory marked this pull request as draft October 7, 2024 05:57
@hoonsbory hoonsbory marked this pull request as ready for review October 7, 2024 05:57
@hoonsbory hoonsbory closed this Oct 7, 2024
@hoonsbory hoonsbory deleted the groupComplete branch October 7, 2024 05:58
@hoonsbory hoonsbory restored the groupComplete branch October 7, 2024 05:58
@hoonsbory hoonsbory reopened this Oct 7, 2024
@hoonsbory hoonsbory marked this pull request as draft October 7, 2024 06:00
@hoonsbory hoonsbory closed this Oct 7, 2024
@hoonsbory hoonsbory reopened this Oct 7, 2024
@hoonsbory hoonsbory marked this pull request as ready for review October 7, 2024 06:09
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.

1 participant