For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Interface AnimationTimeline

The AnimationTimeline interface of the Web Animations API represents the timeline of an animation.

MDN Reference

interface AnimationTimeline {
    currentTime: CSSNumberish | null;
}

Hierarchy (View Summary)

Index

Properties

Properties

currentTime: CSSNumberish | null

The currentTime read-only property of the Web Animations API's AnimationTimeline interface returns the timeline's current time in milliseconds, or null if the timeline is inactive.

MDN Reference

Was this helpful?