KC's Workspace
    Preparing search index...
    EasingFunction:
        | { type: "linear" }
        | { type: "ease" }
        | { type: "ease-in" }
        | { type: "ease-out" }
        | { type: "ease-in-out" }
        | { type: "cubic-bezier"; x1: number; x2: number; y1: number; y2: number }
        | { count: number; position?: StepPosition; type: "steps" }

    Type Declaration

    • { type: "linear" }
    • { type: "ease" }
    • { type: "ease-in" }
    • { type: "ease-out" }
    • { type: "ease-in-out" }
    • { type: "cubic-bezier"; x1: number; x2: number; y1: number; y2: number }
      • type: "cubic-bezier"
      • x1: number

        The x-position of the first point in the curve.

      • x2: number

        The x-position of the second point in the curve.

      • y1: number

        The y-position of the first point in the curve.

      • y2: number

        The y-position of the second point in the curve.

    • { count: number; position?: StepPosition; type: "steps" }
      • count: number

        The number of intervals in the function.

      • Optionalposition?: StepPosition

        The step position.

      • type: "steps"