这是
实验性技术
检查
浏览器兼容性表格
要小心谨慎在生产中使用这之前。
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:
''
.
name = AnimationEvent.pseudoElement
| 规范 | 状态 | 注释 |
|---|---|---|
|
CSS 动画
The definition of 'AnimationEvent.pseudoElement' in that specification. |
工作草案 | 初始定义。 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
pseudoElement
|
Chrome 68 | Edge 79 | Firefox 23 | IE No | Opera No | Safari No | WebView Android 68 | Chrome Android 68 | Firefox Android 23 | Opera Android No | Safari iOS No | Samsung Internet Android 10.0 |
完整支持
不支持
实验。期望将来行为有所改变。
animation
,
animation-delay
,
animation-direction
,
animation-duration
,
animation-fill-mode
,
animation-iteration-count
,
animation-name
,
animation-play-state
,
animation-timing-function
,
@keyframes
.
AnimationEvent
interface it belongs to.
AnimationEvent
animationName
elapsedTime
pseudoElement