AnimationEvent.animationName
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
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
Browser compatibility
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
animationName |
43 |
12 |
6 |
10 |
30 |
9 |
43 |
43 |
6 |
30 |
9 |
4.0 |
See also
- Using CSS animations
- Animation-related CSS properties and at-rules:
animation,animation-delay,animation-direction,animation-duration,animation-fill-mode,animation-iteration-count,animation-name,animation-play-state,animation-timing-function,@keyframes. - The
AnimationEventinterface it belongs to.
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/AnimationEvent/animationName