This page is Almost Ready

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

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.