Nghi Posted July 21, 2021 Share Posted July 21, 2021 I copied the markup/css/scripts into my own pen using these 2 librarieshttps://cdnjs.cloudflare.com/ajax/libs/gsap/3.7.1/gsap.min.jshttps://cdnjs.cloudflare.com/ajax/libs/gsap/3.7.1/EasePack.min.js The getratio method doesn't seem to exist in gsap3. How would i get this demo to work... with the 3.7.1 library? working tutorial demo. See the Pen NyXBbV by GreenSock (@GreenSock) on CodePen My pen with new library. See the Pen GRmMqeo by kneepham (@kneepham) on CodePen Link to comment Share on other sites More sharing options...
Solution GreenSock Posted July 21, 2021 Solution Share Posted July 21, 2021 Have you checked the docs? The v3-converted demo is embedded in the docs: See the Pen qBBBxaL by GreenSock (@GreenSock) on CodePen There's no need for "getRatio()" anymore - the ease itself is the function. Does that answer your question? 1 Link to comment Share on other sites More sharing options...
Nghi Posted July 21, 2021 Author Share Posted July 21, 2021 Yes it does. Thank you so much for your time. I didnt relize there was the same tutorial in the new docs. I'll have a look into it. 1 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