DocumentTimeline
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2020年7月.
DocumentTimeline はウェブアニメーション API のインターフェイスで、(Document.timeline からアクセスできる)既定の文書タイムラインを含むアニメーションタイムラインを表します。
コンストラクター
DocumentTimeline()-
現在の閲覧コンテキストでアクティブな文書に関連付けられた、新しい
DocumentTimelineオブジェクトを作成します。
インスタンスプロパティ
このインターフェイスには、親である AnimationTimeline からプロパティを継承しています。
AnimationTimeline.currentTime-
タイムラインの時刻値をミリ秒で返します。無効な場合は
nullを返します。
仕様書
| Specification |
|---|
| Web Animations> # the-documenttimeline-interface> |
ブラウザーの互換性
Loading…