currentTime property

CSSNumberish? get currentTime

The Animation.currentTime property of the Web Animations API returns and sets the current time value of the animation in milliseconds, whether running or paused.

If the animation lacks a AnimationTimeline, is inactive, or hasn't been played yet, currentTime's return value is null.

Implementation

external CSSNumberish? get currentTime;
set currentTime (CSSNumberish? value)

Implementation

external set currentTime(CSSNumberish? value);