aotik
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by aotik
-
-
Hello!
I'm currently using TimelineMax() to create a timeline for a custom Easing function. The custom Ease is working as expected, so there are no problems with that.
However, I came across a part in the docs where it mentioned the config() method could be used with newer versions of Greensock instead of the standard extraParams method.
This is how I'm passing parameters at the moment:
new TimelineMax().to(box, springTiming, { delay: 1, x: 400, ease: new Ease(springFrame, [spring]) })
How would I be able to use the config() method to pass it the same way? Also, would it be beneficial in doing so?
Thanks in advance.
Using config() for custom Ease functions
in GSAP
Posted
Thanks for the reply guys, really helped out a lot. In the end we decided to go with the class extension of Ease as that seemed like a clean way to do it.
Here is how it turned out.