Back to Content

AnimationPlaybackEvent: timelineTime property

files/en-us/web/api/animationplaybackevent/timelinetime/index.md

latest716 B
Original Source

{{ APIRef("Web Animations") }}

The timelineTime read-only property of the {{domxref("AnimationPlaybackEvent")}} interface represents the time value of the animation's {{domxref("AnimationTimeline", "timeline")}} at the moment the event is queued. This will be unresolved if the animation was not associated with a timeline at the time the event was generated or if the associated timeline was inactive.

Value

A number representing the current time in milliseconds, or null.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • Web Animations API
  • {{domxref("AnimationPlayBackEvent")}}
  • {{domxref("AnimationTimeline")}}