duration

The duration read-only property of the Web Animations API's AnimationTimeline interface returns the maximum value for this timeline or null.

MDN Reference