Document: timeline プロパティ
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月.
timeline は Document インターフェイスの読み取り専用プロパティで、現在の文書の既定のタイムラインを表します。このタイムラインは DocumentTimeline の特別なインスタンスです。
このタイムラインはそれぞれの document に固有のもので、Document.open() の呼び出しを含む document の存続期間中維持されます。
このタイムラインは Performance.timeOrigin からの時刻をミリ秒単位で表します。
基準時刻以前はタイムラインはアクティブではなく、 currentTime は null になります。
値
DocumentTimeline オブジェクトです。
仕様書
| Specification |
|---|
| Web Animations> # dom-document-timeline> |
ブラウザーの互換性
Loading…