Function isEasingKey

  • Determines whether or not a given string represents a defined easing curve on easing. This also supports custom easing functions.

    Parameters

    • key: string

    Returns key is "linear" | "easeInQuad" | "easeOutQuad" | "easeInOutQuad" | "easeInCubic" | "easeOutCubic" | "easeInOutCubic" | "easeInQuart" | "easeOutQuart" | "easeInOutQuart" | "easeInQuint" | "easeOutQuint" | "easeInOutQuint" | "easeInSine" | "easeOutSine" | "easeInOutSine" | "easeInExpo" | "easeOutExpo" | "easeInOutExpo" | "easeInCirc" | "easeOutCirc" | "easeInOutCirc" | "easeOutBounce" | "easeInBack" | "easeOutBack" | "easeInOutBack" | "elastic" | "swingFromTo" | "swingFrom" | "swingTo" | "bounce" | "bouncePast" | "easeFromTo" | "easeFrom" | "easeTo"

Generated using TypeDoc