The amount of time the animation has been running, in seconds, since the event fired, excluding any time the animation was paused.
Property of dom/AnimationEventdom/AnimationEvent
SyntaxNote: This property is read-only.
var result = element.elapsedTime;
Examples
var myAnimEvent = new AnimationEvent();
var myAnimTime = myAnimEvent.elapsedTime;
Notes
For an animationstart event, the elapsedTime is zero (0.0) unless there was a negative value for animation-delay, in which case the event will be fired with an elapsedTime of (-1 * delay).
AttributionsMicrosoft Developer Network: [Windows Internet Explorer API reference Article]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4