Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/web/api/animationevent/pseudoelement/index.md
6538 views
---
title: AnimationEvent.pseudoElement slug: Web/API/AnimationEvent/pseudoElement page-type: web-api-instance-property browser-compat: api.AnimationEvent.pseudoElement
---

{{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

  • Chromium Issue 437132

  • Using CSS animations

  • 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.