Jump to content
GreenSock

felixturner

TweenMax.defaultOverwrite doesn't work

Recommended Posts

hi,

 

It seems that TweenLite.defaultOverwrite = 'all'; does work, but TweenMax.defaultOverwrite = 'all'; does not. This can cause confusion.

 

- Felix

See the Pen YEQxwL by felixturner (@felixturner) on CodePen

  • Like 1
Link to comment
Share on other sites

Hi,

 

Sorry for the confusion, but there's no such thing as TweenMax.defaultEase.

https://greensock.com/docs/TweenMax

 

As Jack mentioned in a recent post about TweenLite.defaultEase...

 

TweenLite is the core class for everything, thus it's the proper place to attach static properties like that. It'd be inefficient to have to check two places for a default overwrite mode and it would cause more confusion if they were different.

 

Hopefully that helps

 

 

 

 

 

  • Like 2
Link to comment
Share on other sites

You're right. Although we have the docs configured to not show that property in the left nav it is still showing up on the TweenMax main class page at the bottom. We are looking into getting that fixed. Sorry for the confusion.

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