• Performs a lookup for standard Gsap easing functions by name. All Svelte easing functions are also available by prepending svelte-<EASE_NAME>. For convenience if passing in a function it is returned verbatim.

    Parameters

    • easingRef: GsapEasingReference

      The name of a standard GSAP easing function or an existing supplied easing function.

    • Optionaloptions: {
          default?: false | GsapEasingFunctionName;
      }

      Optional parameters.

      • Optionaldefault?: false | GsapEasingFunctionName

        The default easing function name to apply. When specified as false no default fallback easing function is selected.

    Returns EasingFunction

    The requested easing function.