TransitionEvent elapsedTime Property

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








googletag.cmd.push(function() googletag.display('div-gpt-ad-1422003450156-2'); );




TransitionEvent elapsedTime Property



❮ DOM Events
❮ TransitionEvent




Example


Find out how many seconds a transition has been running:



document.getElementById("myDIV").addEventListener("transitionend", myFunction);

function myFunction(event)
  this.innerHTML = "Transition lasted: " + event.elapsedTime + " seconds";

Try it Yourself »


Definition and Usage


The elapsedTime property returns the number of seconds a transition has been
running, when a transitionend event occurs.


Note: The return value is not affected if the transition is
paused (by using the transition-delay CSS property).


This property is read-only.



Browser Support


The numbers in the table specify the first browser version that fully supports the property.














Property
elapsedTime Yes 10.0 Yes Yes Yes

Syntax



event.elapsedTime

Technical Details




Return Value: A Number, representing the number of seconds a transition has been running

Related Pages


HTML DOM reference: The transitionend Event


HTML DOM reference: TransitionEvent propertyName Property


CSS reference: CSS3 transition Property


CSS reference: CSS3 transition-duration Property




❮ DOM Events
❮ TransitionEvent


Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

Edmonton

Crossroads (UK TV series)