Javascript API
interfaces
Animationcontrols

Interface: AnimationControls

Properties

currentTime

currentTime: null | number


duration

duration: number


finished

finished: Promise (opens in a new tab)<any>


playState

playState: PlayState


playbackRate

playbackRate: number


startTime

startTime: null | number

Methods

cancel

cancel(): void

Returns

void


finish

finish(): void

Returns

void


pause

pause(): void

Returns

void


play

play(): void

Returns

void


reverse

reverse(): void

Returns

void


stop

stop(): void

Returns

void