Interface AnimationInstance<T>

The Animation having gotten instanced.

interface AnimationInstance<T> {
    animation: Animation<T>;
    duration: number;
    mode: "reverse" | "positive";
    params?: Record<string, any>;
    startAt: number;
}

Type Parameters

Properties

animation: Animation<T>

The object Animation.

duration: number

The duration of this animation.

mode: "reverse" | "positive"

The playing mode of this animation

params?: Record<string, any>

The other parameters.

startAt: number

The animation's started time.