The quickTo callback function returned from AnimationAPI.quickTo.

interface QuickToCallback {
    keys: AnimationKey[];
    options: ((options: QuickTweenOptions) => QuickToCallback);
    (...args: (string | number)[]): void;
    (arg: Partial<{
        height: string | number;
        left: string | number;
        maxHeight: string | number;
        maxWidth: string | number;
        minHeight: string | number;
        minWidth: string | number;
        rotateX: string | number;
        rotateY: string | number;
        rotateZ: string | number;
        rotation: string | number;
        scale: string | number;
        top: string | number;
        translateX: string | number;
        translateY: string | number;
        translateZ: string | number;
        width: string | number;
        zIndex: string | number;
    }>): void;
}
Hierarchy
  • Parameters

    • Rest...args: (string | number)[]

      Individual numbers or relative strings corresponding to the order in which animation keys are specified.

    Returns void

  • Parameters

    • arg: Partial<{
          height: string | number;
          left: string | number;
          maxHeight: string | number;
          maxWidth: string | number;
          minHeight: string | number;
          minWidth: string | number;
          rotateX: string | number;
          rotateY: string | number;
          rotateZ: string | number;
          rotation: string | number;
          scale: string | number;
          top: string | number;
          translateX: string | number;
          translateY: string | number;
          translateZ: string | number;
          width: string | number;
          zIndex: string | number;
      }>

      A single object with animation keys specified and numerical or relative string values.

    Returns void

Properties

Properties

keys: AnimationKey[]

The keys assigned for this quickTo callback.

options: ((options: QuickTweenOptions) => QuickToCallback)

Sets options of quickTo tween.

Type declaration