AnimationPlaybackEvent: timelineTime プロパティ

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.

timelineTimeAnimationPlaybackEvent インターフェイスの読み取り専用プロパティで、イベントがキューに入った瞬間のアニメーションの timeline (en-US) の時刻値を表します。イベントが生成された時刻にアニメーションがタイムラインに関連付けられていなかったり、関連付けられていたタイムラインが非アクティブだった場合、これは未解決になります。

現在の時刻をミリ秒単位で表す数値、または null です。

仕様書

Specification
Web Animations
# dom-animationplaybackevent-timelinetime

ブラウザーの互換性

BCD tables only load in the browser

関連情報