AnimationPlaybackEvent: timelineTime プロパティ

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.

We'd love to hear more about your role and the company you work for
Please help us by answering a few questions.

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

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

仕様書

Specification
Web Animations
# dom-animationplaybackevent-timelinetime

ブラウザーの互換性

関連情報