codicts / Fashion-Landing-Page

51 stars 37 forks source link

TweenMax is not supported anymore #1

Open rafyc opened 4 years ago

rafyc commented 4 years ago

Hi, Thanks for sharing. I'm new in coding JS with Gsap but in the last version Gsap3 TweenMax is depreciated. I will try with that.

Thanks

rafyc commented 4 years ago

// old TweenMax.to(".class", 2, {x: 100});

// new gsap.to(".class", {duration: 2, x: 100});

// -- Timelines --

// old var tl = new TimelineMax();

// new var tl = gsap.timeline();