wyy2 Posted December 24, 2019 Share Posted December 24, 2019 Before I was using this syntax: var easedValue = Power2.easeIn.getRatio( value ); Now it returns error - "is not a function" Link to comment Share on other sites More sharing options...
Solution OSUblake Posted December 24, 2019 Solution Share Posted December 24, 2019 Eases are just functions now. var easedValue = Power2.easeIn( value ); Note that you can use use gsap.parseEase() to get the ease function from a string. var power2In = gsap.parseEase("power2.in"); var easedValue = power2In( value ); 8 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now