Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Animation

Hierarchy

Index

Properties

EventTarget

EventTarget: { constructor: any; prototype: EventTarget }

Type declaration

currentTime

currentTime: number | null

effect

effect: AnimationEffect | null

Readonly finished

finished: Promise<Animation>

id

id: string

oncancel

oncancel: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null

onfinish

onfinish: ((this: Animation, ev: AnimationPlaybackEvent) => any) | null

Readonly pending

pending: boolean

Readonly playState

playbackRate

playbackRate: number

Readonly ready

startTime

startTime: number | null

timeline

timeline: AnimationTimeline | null

Methods

addEventListener

cancel

  • cancel(): void
  • Returns void

dispatchEvent

  • dispatchEvent(event: Event): boolean
  • 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.

    Parameters

    Returns boolean

finish

  • finish(): void
  • Returns void

pause

  • pause(): void
  • Returns void

play

  • play(): void
  • Returns void

removeEventListener

reverse

  • reverse(): void
  • Returns void

updatePlaybackRate

  • updatePlaybackRate(playbackRate: number): void
  • Parameters

    • playbackRate: number

    Returns void

Generated using TypeDoc