Type alias TJSBasicAnimation

TJSBasicAnimation: {
    cancel: Function;
    finished: Promise<void>;
    isActive: boolean;
    isFinished: boolean;
}

Defines a type for basic animation control.

Type declaration

  • cancel: Function

    A function that cancels animation.

  • finished: Promise<void>

    A Promise that is resolved when animation is finished.

  • isActive: boolean

    True if animation is active; note: delayed animations are not active until start.

  • isFinished: boolean

    True if animation is completely finished.