MDN self-hosted library · e01.org

AnimationTimeline

Web Animations

no runnable cells web-api-interface upstream source

Web Animations

The AnimationTimeline interface of the Web Animations API represents the timeline of an animation. This interface exists to define timeline features, inherited by other timeline types:

  • DocumentTimeline
  • ScrollTimeline
  • ViewTimeline

Instance properties

  • currentTime
  • : Returns the time value in milliseconds for this timeline or null if this timeline is inactive.
  • duration
  • : Returns the maximum value for this timeline or null.

Specifications

Browser compatibility

See also