Interface BasicAnimation

Defines the implementation for basic animation control.

interface BasicAnimation {
    finished: Promise<BasicAnimationState>;
    isActive: boolean;
    isFinished: boolean;
    cancel(): void;
}

Methods

  • Cancels animation when invoked.

    Returns void

Properties

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.