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 March 2020.

timelineDocument インターフェイスの読み取り専用プロパティで、現在の文書の既定のタイムラインを表します。このタイムラインは DocumentTimeline の特別なインスタンスです。

このタイムラインはそれぞれの document に固有のもので、Document.open() の呼び出しを含む document の存続期間中維持されます。

このタイムラインは Performance.timeOrigin からの時刻をミリ秒単位で表します。 基準時刻以前はタイムラインはアクティブではなく、 currentTimenull になります。

メモ: アクティブでない文書(Window<iframe><frame> に関連付けられていない Document)に関連付けられている文書タイムラインもアクティブではないと見なされます。

DocumentTimeline オブジェクトです。

仕様書

Specification
Web Animations
# dom-document-timeline

ブラウザーの互換性

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
timeline

Legend

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

Full support
Full support

関連情報