Firefox Tomorrow

web api interface

TransitionEvent

View on MDN ↗

The TransitionEvent interface represents events providing information related to transitions.

Constructor

Instance properties

Also inherits properties from its parent Event.

  • animation Read only
    • : A CSSTransition read-only property containing the animation associated with the event.
  • propertyName Read only
    • : A string containing the name CSS property associated with the transition.
  • elapsedTime Read only
    • : A 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.
  • pseudoElement Read only
    • : 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: ''.

Types of TransitionEvent

Instance methods

Also inherits methods from its parent Event.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also