SpaceMoney-01011000 Posted August 29, 2022 Share Posted August 29, 2022 What are gsap.effects? I ran across this post, but wasn't sure if gsap.effects.swapText() was custom method. I read the docs, but it isn't clear if these are baked into GSAP or if they're something I make... Link to comment Share on other sites More sharing options...
Solution GreenSock Posted August 29, 2022 Solution Share Posted August 29, 2022 Those are custom effects YOU make. Think of it like a chunk of code you author that handles a particular thing (and "effect") that you give a name and then can feed targets and any configuration options to. Almost like your own function, but named and attached to gsap.effects so it can be accessed globally. 1 Link to comment Share on other sites More sharing options...
SpaceMoney-01011000 Posted August 29, 2022 Author Share Posted August 29, 2022 Ah! Good to know! Thank you, kind sir. 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