HTML DOM TransitionEvent

TransitionEvent object

Events that occur during CSS transitions belong to the TransitionEvent object.

Transition event attributes and methods

attribute/method Description
propertyName Returns the name of the transition.
elapsedTime Returns the number of seconds the transition has run.
pseudoElement Returns the name of the pseudo-element for the transition.

Inherited Properties and Methods

TransitionEvent inherits all properties and methods from the following objects:

Event Object

Event Type

These event types belong to the TransitionEvent object:

Events Description
transitionend This event occurs when the CSS transition is completed.