AnimationEvent: pseudoElement-Eigenschaft
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since März 2020.
Die schreibgeschützte Eigenschaft AnimationEvent.pseudoElement ist ein String, der mit '::' beginnt und den Namen des Pseudo-Elements enthält, auf dem die Animation ausgeführt wird. Wenn die Animation nicht auf einem Pseudo-Element, sondern auf dem Element ausgeführt wird, ist es ein leerer String: ''.
Wert
Ein String, der mit '::' beginnt und den Namen des Pseudo-Elements enthält, auf dem die Animation ausgeführt wird.
Spezifikationen
| Specification |
|---|
| CSS Animations Level 1> # dom-animationevent-pseudoelement> |
Browser-Kompatibilität
Siehe auch
- Verwendung von CSS-Animationen
- Animationsbezogene CSS-Eigenschaften und At-Rules:
animation,animation-delay,animation-direction,animation-duration,animation-fill-mode,animation-iteration-count,animation-name,animation-play-state,animation-timing-function,@keyframes. - Das
AnimationEventInterface, zu dem es gehört.