This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
Summary
The AnimationEvent.pseudoElement
read-only property is a DOMString
, 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: ''
.
Syntax
name = AnimationEvent.pseudoElement
Specifications
Specification | Status | Comment |
---|---|---|
CSS Animations The definition of 'AnimationEvent.pseudoElement' in that specification. |
Working Draft | Initial definition. |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
pseudoElement | Chrome Full support 68 | Edge Full support 79 | Firefox Full support 23 | IE No support No | Opera No support No | Safari No support No | WebView Android Full support 68 | Chrome Android Full support 68 | Firefox Android Full support 23 | Opera Android No support No | Safari iOS No support No | Samsung Internet Android Full support 10.0 |
Legend
- Full support
- Full support
- No support
- No support
- Experimental. Expect behavior to change in the future.
- Experimental. Expect behavior to change in the future.
See also
- Chromium Issue 437132
- Using CSS animations
- Animation-related CSS properties and at-rules:
animation
,animation-delay
,animation-direction
,animation-duration
,animation-fill-mode
,animation-iteration-count
,animation-name
,animation-play-state
,animation-timing-function
,@keyframes
. - The
AnimationEvent
interface it belongs to.