Interface Animation

Hierarchy

Properties

currentTime: CSSNumberish
finished: Promise<Animation>
id: string
oncancel: ((this, ev) => any)

Type declaration

onfinish: ((this, ev) => any)

Type declaration

onremove: ((this, ev) => any)

Type declaration

pending: boolean
playbackRate: number
replaceState: AnimationReplaceState
startTime: CSSNumberish

Methods

  • 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

  • Parameters

    • playbackRate: number

    Returns void