computedTiming
Summary
Returns the calculated timing properties for this animation node. This is comparable to the computed style of an Element, window.getComputedStyle(elem).
Although several of the attributes of the this object are common to the AnimationTiming object returned by the timing attribute, they have the following differences:
duration – returns the calculated value of the iteration duration. If timing.duration is the string auto or any unsupported value, this attribute will return the current calculated value of the intrinsic iteration duration. fill – the auto value is replaced with the specific FillMode depending on the type of animation node (see §5.8.1 The FillMode enumeration). easing – unrecognised or unsupported values are replaced with the string linear.
Property of apis/web_animations/AnimationNodeapis/web_animations/AnimationNode
Syntax
Note: This property is read-only.
var result = element.computedTiming;
Return Value
Returns an object of type ObjectObject
returns a ComputedTimingProperties object.