此页面由社区从英文翻译而来。了解更多并加入 MDN Web Docs 社区。

View in English Always switch to English

AnimationEvent:pseudoElement 属性

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨2020年3月⁩.

AnimationEvent.pseudoElement 只读属性是一个以 '::' 开头,包含动画运行在其上的伪元素的名称的字符串。如果动画不是在伪元素上运行而是直接在元素上运行,则该属性值为空字符串 ''

一个以 '::' 开头的字符串,包含正在运行着对应动画的伪元素的名称。

规范

Specification
CSS Animations Level 1
# dom-animationevent-pseudoelement

浏览器兼容性

参见