Jump to content
Search Community

gsap.effects?

SpaceMoney-01011000
Moderator Tag

Go to solution Solved by GreenSock,

Recommended Posts

SpaceMoney-01011000
Posted

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...

  • Solution
Posted

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.  

  • Like 1
SpaceMoney-01011000
Posted

Ah! Good to know!

Thank you, kind sir.

  • Like 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...