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:
currentTime Read onlyReturns the time value in milliseconds for this timeline or null if this timeline is inactive.
duration Read onlyReturns the maximum value for this timeline or null.