TransitionEvent

open class TransitionEvent(val type: EventType<TransitionEvent>, init: TransitionEventInit = definedExternally) : Event(source)

The TransitionEvent interface represents events providing information related to transitions.

MDN Reference

Constructors

Link copied to clipboard
constructor(type: EventType<TransitionEvent>, init: TransitionEventInit = definedExternally)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The TransitionEvent.elapsedTime read-only property is a float giving the amount of time the animation has been running, in seconds, when this event fired. This value is not affected by the transition-delay property.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The propertyName read-only property of TransitionEvent objects is a string containing the name of the CSS property associated with the transition.

Link copied to clipboard

The TransitionEvent.pseudoElement read-only property is a 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: "".

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val type: EventType<TransitionEvent>

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard