Jump to content

gsap.parseEase() enables you to access the ease function that GSAP uses for a given ease. Most of the time this isn't necessary because GSAP handles easing for you, but if you need to access the ease functions for some reason (like using them outside of GSAP) this method can be useful.

For example:

  1. gsap.parseEase("Power1.easeOut");

For a more complex example usage, see the blended eases helper function.

Copyright 2017, GreenSock. All rights reserved. This work is subject to theterms of useor for Club GreenSock members, the software agreement that was issued with the membership.