A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/dom/AnimationEvent/elapsedTime below:

elapsedTime ยท WebPlatform Docs

elapsedTime Summary

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

Syntax

Note: 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).

Attributions

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