DocumentTimeline

Baseline Widely available

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

We’d love to hear your thoughts on the next set of proposals for the JavaScript language. You can find a description of the proposals here.
Please take two minutes to fill out our short survey.

Das DocumentTimeline-Interface der Web Animations API repräsentiert Animationszeitleisten, einschließlich der standardmäßigen Dokumentzeitleiste (zugreifbar über Document.timeline).

AnimationTimeline DocumentTimeline

Konstruktor

DocumentTimeline()

Erstellt ein neues DocumentTimeline-Objekt, das dem aktiven Dokument des aktuellen Browsing-Kontextes zugeordnet ist.

Instanzeigenschaften

Dieses Interface erbt seine Eigenschaft von seinem Elternteil, AnimationTimeline.

AnimationTimeline.currentTime

Gibt den Zeitwert in Millisekunden für diese Zeitleiste zurück oder null, wenn sie inaktiv ist.

Spezifikationen

Specification
Web Animations
# the-documenttimeline-interface

Browser-Kompatibilität

Siehe auch