On this page
Properties

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?
SDK JS
Reference
AnimationTimeline