FLYPILOT Posted April 25, 2023 Share Posted April 25, 2023 I was looking into a way to "rotate texts" using splitText, and found this pen. However this uses an old version of gsap. Where can I find a new version of this or how can I update this code to the v3? See the Pen WNePYzX by GreenSock (@GreenSock) on CodePen Link to comment Share on other sites More sharing options...
Solution Rodrigo Posted April 25, 2023 Solution Share Posted April 25, 2023 Hi, I created a fork of that codepen: See the Pen JjmNRGm by GreenSock (@GreenSock) on CodePen Just in case we do have a migration guide in our Learning Center: Also we do have documentation for V2 available as well: https://greensock.com/docs/v2 So porting this to V3 syntax shouldn't be too complicated (actually it wasn't too complicated to update the code ). Hopefully this helps. Happy Tweening! 2 1 Link to comment Share on other sites More sharing options...
FLYPILOT Posted April 26, 2023 Author Share Posted April 26, 2023 @Rodrigo Thanks a lot, this worked perfectly. I've tried to update the code, but I think I was missing something, maybe was the calling for ScrollTrigger, but I'm not sure! Anyways, this helped me a lot. thanks! 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