AnimationEvent.animationName

实验性: 这是一项实验性技术
在将其用于生产之前,请仔细检查浏览器兼容性表格

The AnimationEvent.animationName read-only property is a DOMString containing the value of the animation-name CSS property associated with the transition.

Syntax

name = AnimationEvent.animationName

Specifications

Specification
CSS Animations Level 1
# dom-animationevent-animationname

Browser compatibility

BCD tables only load in the browser

See also