AnimationPlaybackEvent

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2020.

Das AnimationPlaybackEvent Interface der Web Animations API repräsentiert Animationsereignisse.

Während Animationen abgespielt werden, melden sie Änderungen ihres playState durch Animationsereignisse.

Event AnimationPlaybackEvent

Konstruktor

AnimationPlaybackEvent()

Erstellt eine neue AnimationPlaybackEvent Objektinstanz.

Instanz-Eigenschaften

AnimationPlaybackEvent.currentTime Schreibgeschützt

Die aktuelle Zeit der Animation, die das Ereignis generiert hat.

AnimationPlaybackEvent.timelineTime Schreibgeschützt

Der Zeitwert der Zeitleiste der Animation, die das Ereignis generiert hat.

Spezifikationen

Specification
Web Animations
# the-animationplaybackevent-interface

Browser-Kompatibilität

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
AnimationPlaybackEvent
AnimationPlaybackEvent() constructor
currentTime
timelineTime

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support

Siehe auch