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

MDN Reference

interface AnimationTimeline {
    currentTime: CSSNumberish | null;
}
Hierarchy
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