Back to Content

TransitionEvent: pseudoElement property

files/en-us/web/api/transitionevent/pseudoelement/index.md

latest698 B
Original Source

{{ apiref("CSSOM") }}

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: "".

Value

A string.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • Using CSS transitions
  • {{cssxref("transition")}}, {{cssxref("transition-delay")}}, {{cssxref("transition-duration")}}, {{cssxref("transition-property")}}, {{cssxref("transition-timing-function")}}.