Export (0) Print
Expand All

elapsedTime property

The amount of time the animation has been running, in seconds.

This property is read-only.

Internet Explorer 10

 

Syntax

JavaScript
number = object.elapsedTime

 

Property values

Type: Floating-point

The amount of time the animation has been running, in seconds, when this event fired, excluding any time the animation was paused.

Remarks

Note  This value is not affected by the value of animation-delay. For an animationStart type event (see initAnimationEvent), the elapsedTime is always zero.

See also

AnimationEvent

 

 

Show:
© 2014 Microsoft