Jump to content
Search Community

Why no "onReverseStart"?

katerlouis test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Bummer. Spammed again– I searched specifically for "onReverseStart" :D – I need some googling lessons.

 

To topic:

The thing is: I am not yoyoing– I tween the progress of another tween (sunToMoon) via fromTo. The function calculates wether I need to go from 1 to 0 or from 0 to 1; I'd like to keep it that the sunToMoon-tween takes care of the callbacks itself and not the tween that tweens the progress, because sunToMoon gets altered from different places. Having to repeat the callbacks where the alteration takes place– nah!

 

I don't fully comprehend your explanation on why it's bad for performance and that there is a conecptual naming conflict, but I trust you guys in that and accept it.

 

Too bad though; "where is a complete, there must be a start", my gut is telling! :D

 

PS: you talk about timelines there; would onReverseStart be a problem for single tweens, aswell? 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...