duration
Summary
The iteration duration which is a real number greater than or equal to zero (including positive infinity) representing the time taken to complete a single iteration of the animation node.
Property of apis/web_animations/AnimationTimingReadOnlyapis/web_animations/AnimationTimingReadOnly
Syntax
Note: This property is read-only.
var result = element.duration;
Return Value
Returns an object of type ObjectObject
Returns and unrestricted double or DOMString object
The string value auto is used to indicate that the iteration duration reflects the animation node’s intrinsic iteration duration.