TransitionEvent elapsedTime Property in JavaScript
TransitionEvent elapsedTime Property in JavaScript
The elapsedTime property is a read-only property and it is used to return number of seconds a transition has been running when a transitionend event occurs. It will not affect when transition is paused or stopped.
Syntax:-
Its syntax is:- event.elapsedTime
Return:-
Its return is:- number denoting the total number of seconds a transition has been running