Interface Animation

interface Animation {
    $destroyListeners?: any[];
    currentTime: CSSNumberish;
    effect: AnimationEffect;
    finished: Promise<Animation>;
    id: string;
    oncancel: Object;
    onfinish: Object;
    onremove: Object;
    pending: boolean;
    playState: AnimationPlayState;
    playbackRate: number;
    ready: Promise<Animation>;
    replaceState: AnimationReplaceState;
    startTime: CSSNumberish;
    timeline: AnimationTimeline;
    addEventListener<K>(type, listener, options?): void;
    addEventListener(type, listener, options?): void;
    cancel(): void;
    commitStyles(): void;
    dispatchEvent(event): boolean;
    finish(): void;
    pause(): void;
    persist(): void;
    play(): void;
    removeEventListener<K>(type, listener, options?): void;
    removeEventListener(type, listener, options?): void;
    reverse(): void;
    updatePlaybackRate(playbackRate): void;
}

Hierarchy

Properties

$destroyListeners?: any[]
currentTime: CSSNumberish
finished: Promise<Animation>
id: string
oncancel: Object
onfinish: Object
onremove: Object
pending: boolean
playbackRate: number
replaceState: AnimationReplaceState
startTime: CSSNumberish

Methods

  • Type Parameters

    Parameters

    Returns void

  • Parameters

    Returns void

  • Returns void

  • Returns void

  • Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

    MDN Reference

    Parameters

    Returns boolean

  • Returns void

  • Returns void

  • Returns void

  • Returns void

  • Type Parameters

    Parameters

    Returns void

  • Parameters

    Returns void

  • Returns void

  • Parameters

    • playbackRate: number

    Returns void