Document: timeline プロパティ
Baseline 2022
Newly available
Since September 2022, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
timeline
は Document
インターフェイスの読み取り専用プロパティで、現在の文書の既定のタイムラインを表します。このタイムラインは DocumentTimeline
(en-US) の特別なインスタンスです。
このタイムラインはそれぞれの document
に固有のもので、Document.open()
の呼び出しを含む document
の存続期間中維持されます。
このタイムラインは Performance.timeOrigin
からの時刻をミリ秒単位で表します。
基準時刻以前はタイムラインはアクティブではなく、 currentTime
(en-US) は null
になります。
値
DocumentTimeline
(en-US) オブジェクトです。
仕様書
Specification |
---|
Web Animations # dom-document-timeline |
ブラウザーの互換性
BCD tables only load in the browser