Path: blob/main/files/en-us/web/api/animationevent/pseudoelement/index.md
6538 views
------{{APIRef("Web Animations API")}}
Summary
The AnimationEvent.pseudoElement read-only property is a string, starting with '::', containing the name of the pseudo-element the animation runs on. If the animation doesn't run on a pseudo-element but on the element, an empty string: ''.
Value
A string, starting with '::', containing the name of the pseudo-element the animation runs on.
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}
See also
Animation-related CSS properties and at-rules: {{cssxref("animation")}}, {{cssxref("animation-delay")}}, {{cssxref("animation-direction")}}, {{cssxref("animation-duration")}}, {{cssxref("animation-fill-mode")}}, {{cssxref("animation-iteration-count")}}, {{cssxref("animation-name")}}, {{cssxref("animation-play-state")}}, {{cssxref("animation-timing-function")}}, {{cssxref("@keyframes")}}.
The {{domxref("AnimationEvent")}} interface it belongs to.