pseudoElement property

String pseudoElement

Contains the name of the pseudo-element the animation runs on.

Starts with ::. If the transition doesn't run on a pseudo-element but on the element, an empty string: ''.

See developer.mozilla.org/en-US/docs/Web/API/TransitionEvent/pseudoElement

Implementation

external String get pseudoElement;