--- title: AnimationEvent.animationName slug: Web/API/AnimationEvent/animationName translation_of: Web/API/AnimationEvent/animationName ---

{{SeeCompatTable}}{{ apiref("Web Animations API") }}

The AnimationEvent.animationName read-only property is a {{domxref("DOMString")}} containing the value of the {{cssxref("animation-name")}} CSS property associated with the transition.

Syntax

name = AnimationEvent.animationName

Specifications

Specification Status Comment
{{ SpecName('CSS3 Animations', '#AnimationEvent-animationName', 'AnimationEvent.animationName') }} {{ Spec2('CSS3 Animations')}} Initial definition.

Browser compatibility

{{Compat("api.AnimationEvent.animationName")}}

See also