This page is readiness-state

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

currentTime

Summary

The current time of this player unless this player has a pending pause task, in which case this attribute returns null.

Property of apis/web_animations/AnimationPlayerapis/web_animations/AnimationPlayer

Syntax

var result = element.currentTime;
element.currentTime = value;

Return Value

Returns an object of type doubledouble

See also

Related articles

Animation