Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Selected Reading
HTML DOM TransitionEvent elapsedTime Property
The HTML DOM TransitionEvent elapsedTime property returns a number corresponding to how many seconds a transition had run when a transition event is triggered.
Following is the syntax −
Returning number of seconds a transition has run −
transitionEvent.elapsedTime
Let us see an example of TransitionEvent elapsedTime property −
Example
TransitionEvent elapsedTime
Output
Before hovering over the div element −

After hovering over the div element −

Advertisements
