tomasdev
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by tomasdev
-
-
This is not in the documentation. Either it's a bug or the docs need to be updated to be clearer.
When using `timeline.reversed(true)` if the timeline state is paused/finished it will resume it and reverse it.
While reading the docs I expected that code to behave as `timeline.reverse().pause()` rather than `timeline.reverse(0)`
See the demo Codepen to see what I'm talking about. Click on Reverse once the animation finished.
reversed(true) behavior auto-playing?
in GSAP
Posted
Correct, I am using that already as workaround.
But think of the case
Wouldn't you expect it to be paused if you do "tl.reversed(true)" ? in that case I'm setting a pause on last timeline action. Or am I approaching this incorrectly? Is there a way to specify when a timeline ends to stop reproducing other than hooking onComplete ?