Jump to content


className:'+=newclass' removes other classes

Moderator Tag
Go to solution Solved by ZachSaucier,

Recommended Posts

  • Solution

Hey justcasper. As covered in the release notes, className tweens were removed from GSAP. What are you trying to accomplish? Just adding a class? I'd use the classList API for that:



  • Like 1
  • Thanks 1
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.