Search the Community
Showing results for tags 'timelimemax'.
-
Hello, I'm trying to create a Draggable slide, using Timeline and ScrollTo. I want it to detect Swiper to the right it rolls to the next target, and when it rolls to the left it comes back, but when it rolls the times it passes the point and it locks. I know qye maybe this is not the best way to solve this, but within my programming level was what I got.
- 10 replies
-
- draggable
- timelimemax
-
(and 1 more)
Tagged with:
-
TimelineMax: Is any way to update or change the ease when the animation is reversed?
Jorge28cr posted a topic in GSAP
Hi Guys, I need to change the ease on a timeline on reverse, for example: var _easeElastic = Elastic.easeOut.config(1, 0.4); var _easePower2 = Power2.easeOut; function showNuts(){ _tl2 .to('#nuts',0,{opacity:1}) .to('#nuts', 0.4, {opacity:1, top:18, scale:1, ease: _easeElastic}) .to('#copyNuts', 0.4, {top:87, left:45, scale:1.5, ease: _easeElastic}, '-=0.4') .to('.copyNutsFill', 0.3, {fill: "rgb(232,230,1)"}, '-=0.3') .to('#copyJerky', 0.4, {top:85, left:21, ease: _easeElastic}, '-=0.4') .to('#copySeeds', 0.4, {top:85, left:22, ease: _easeElastic, onComplete:function(){ TweenLite.delayedCall(2, function(){ _tl2.updateTo({ease:_easePower2}); _tl2.reverse() }); }}, '-=0.4') } I know that updateTo is not part of the TimelimeMax, but that is to explain what I need when the timeline is reversed.