Search the Community
Showing results for tags 'onreverse'.
Found 2 results
Question about onComplete if parent Timeline is repeating.
mark.tingson posted a topic in GSAPSo I have a Timeline that has a series of staggerFrom. Each staggerFrom has an onComplete event that fires properly. However, I want my parent Timeline to yoyo: true, and repeat once (repeat:1, repeatDelay:1) so it reverses back. If I add those parameters, the onComplete event from each staggerFrom is not firing on reverse. Is there anything I am missing? TIA! Please note that I need to get some properties of the element (like the width and left position) after the each stagger animation. And I have multiple staggerFrom and tweens within my parent timeline.
Hi, I can see this in tutorial "You can define onStart, onUpdate, onComplete, onReverse, and/or onReverseComplete event callbacks." But I cant find hou to use "onReverse()". But "onReverseComplete()" is there. I want to call a function on every "onReverse() " occures. (using slider or the reverse button). Edit: here the example how I want to use onReverse() http://codepen.io/anon/pen/gLtoz