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.

elapsedTime

Summary

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

Property of dom/TransitionEventdom/TransitionEvent

Syntax

Note: This property is read-only.

var result = object.elapsedTime;

Return Value

Returns an object of type NumberNumber

Type: Floating-point

The amount of time the transition has been running, in seconds, when this event fired.

Examples

MSDN hands-on CSS3 Animations wizard.


View live example

Notes

Remarks

Note This value is not affected by the value of transition-delay.

Syntax

Attributions