Jump to content

Ahmed Elabbasy

TweenLineLite className not Add correctly

Recommended Posts

Hey Ahmed.


Why not use .classList.add() for adding a class?


But anyway, built in support for className tweens was removed in GSAP 3 as we recommend that people directly tween properties instead. However there are workarounds and an official className plugin if you want to use them still:


Side note: Lite/Max stuff is old. We highly recommend using GSAP 3 formatting. This migration guide can help you get all of the old syntax switched over:


  • Like 1
Link to comment
Share on other sites

hi Zach

Thanks for the quick reply ..
I am learning from old sources to understand it more deeply and I am a little distracted from your documents Can you tell me a video source to learn?
As for the problem, it has been solved

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.