Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Visual-Q

Error on modifiers?

Go to solution Solved by Visual-Q,

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hey guys,

 

Is the modifiers plugin included in the GSAP 1.19.0 TweenMax full build "https://cdnjs.cloudflare.com/ajax/libs/gsap/1.19.0/TweenMax.min.js" or does it have to be loaded separately.

 

I'm getting an error on the modifiers property "invalid modifiers tween value: [object Object]", it works fine with the beta build and plugin beta as seen here.

 

 

When I replace the js with 1.19.0 and remove the plugin request everything works except the modifiers.

 

Or maybe there has been a syntax change for the final that I'm not picking up on?

 

 

See the Pen grzpZP by Visual-Q (@Visual-Q) on CodePen

Link to comment
Share on other sites

  • Solution

Thanks PointC. I guess I should examine the docs first on things like this but the intro for 1.19.0 download at the bottom  just takes you direct to the TweenMax build  so I assumed it was included in the Max build.

  • Like 1
Link to comment
Share on other sites

Fair point - I just added a note to the 1.19.0 page that specifically mentions that ModifiersPlugin is not included inside TweenMax. Thanks for bringing that to our attention. 

  • Like 4
Link to comment
Share on other sites

  • 5 years later...

Hello, regarding this question, how do you load the ModifiersPlugin in a React project file ? Could find this in the docs.

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.
×