The TransitionEvent interface represents events providing information related to transitions.
TransitionEvent()Creates a TransitionEvent event with the given parameters.
Also inherits properties from its parent Event.
TransitionEvent.animation Read onlyA CSSTransition read-only property containing the animation associated with the event.
TransitionEvent.propertyName Read onlyA string containing the name CSS property associated with the transition.
TransitionEvent.elapsedTime Read onlyA float giving the amount of time the transition has been running, in seconds, when this event fired. This value is not affected by the transition-delay property.
TransitionEvent.pseudoElement Read onlyA string, starting with ::, containing the name of the pseudo-element the animation runs on. If the transition doesn't run on a pseudo-element but on the element, an empty string: ''.
TransitionEventtransitioncancelAn Event fired when a CSS transition has been cancelled.
transitionendAn Event fired when a CSS transition has finished playing.
transitionrunAn Event fired when a CSS transition is created (i.e., when it is added to a set of running transitions), though not necessarily started.
transitionstartAn Event fired when a CSS transition has started transitioning.
Also inherits methods from its parent Event.
transition, transition-delay, transition-duration, transition-property, transition-timing-function@starting-style