AnimationEvent: animationName property

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since September 2015.

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

Value

A string containing the value of the animation-name CSS property.

Specifications

Specification
CSS Animations Level 1
# dom-animationevent-animationname

Browser compatibility

BCD tables only load in the browser

See also