Exporter (0) Imprimer
Développer tout
EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

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

 

 

Afficher:
© 2014 Microsoft