Firefox Tomorrow

web api interface

AnimationTimeline

View on MDN ↗

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:

Instance properties

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

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also