ElTeoZ Posted March 29, 2023 Share Posted March 29, 2023 Hi everyone, I'm using Angular for my web app but I don't understand how to import Gsap properly with the new Angular (v15), and the TimelineLite is deprecated. If somebody can help me, thank you. Link to comment Share on other sites More sharing options...
elegantseagulls Posted March 29, 2023 Share Posted March 29, 2023 You shouldn't need to use TimelineLite anymore (as of version 3.0). You can now just use gsap.timeline(). Also, you can write eases as strings now, so no need to import those (unless it's a special ease). More info here: 3 1 Link to comment Share on other sites More sharing options...
GreenSock Posted March 29, 2023 Share Posted March 29, 2023 Indeed. It should actually be easier than ever to use GSAP in any framework. The API since v3 (many years old now) is streamlined quite a bit. And the new-ish gsap.context() makes cleanup super easy in frameworks (or wherever). Let us know if you need anything else. 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