TransitionEvent.elapsedTime

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The TransitionEvent.elapsedTime read-only property is a float giving the amount of time the animation has been running, in seconds, when this event fired. This value is not affected by the transition-delay property.

Syntax

name = TransitionEvent.elapsedTime

Specifications

Specification Status Comment
CSS Transitions
The definition of 'TransitionEvent.elapsedTime' in that specification.
Working Draft Initial definition.

Browser compatibility

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
elapsedTime
Experimental
Chrome Full support 2Edge Full support 12Firefox Full support 4IE Full support 10Opera Full support YesSafari Full support 6WebView Android Full support YesChrome Android Full support 18Firefox Android Full support 4Opera Android Full support YesSafari iOS Full support YesSamsung Internet Android ?

Legend

Full support Ā 
Full support
Compatibility unknown Ā 
Compatibility unknown
Experimental. Expect behavior to change in the future.
Experimental. Expect behavior to change in the future.

See also