The quickTo callback function returned from AnimationGroupAPI.quickTo. Extends QuickToCallback accepting functions for setting each instance of group with new position data and / or options.

interface GroupQuickToCallback {
    keys: AnimationKey[];
    options: ((options: QuickTweenOptions | GroupQuickTweenOptionsCallback) => GroupQuickToCallback);
    (arg: GroupDataCallback): void;
    (...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

    • arg: GroupDataCallback

      A callback function invoked for unique positional data for each instance of the group.

    Returns void

  • 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.

Sets options of quickTo tween.

Type declaration