pseudoElement
Summary
A DOMString, starting with "::", containing the name of the pseudo-element the animation runs on. If the animation runs on the element rather than on a pseudo-element, this property contains an empty string, "".
Property of dom/AnimationEventdom/AnimationEvent
Syntax
Note: This property is read-only.
var result = element.pseudoElement;
Examples
//for a predefined animation event
var myAnimEvent = new AnimationEvent();
// . . .
//retrieve the pseudo-element if used
var myAnimPseudoElem = myAnimEvent.pseudoElement;