aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/animationevent/animationname/index.md
blob: d3ff5d45206f4ce8f1266ded6b346ff26c3f2461 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
title: AnimationEvent.animationName
slug: Web/API/AnimationEvent/animationName
tags:
  - API
  - AnimationEvent
  - CSS Animations
  - Experimental
  - Propriété
  - Reference
translation_of: Web/API/AnimationEvent/animationName
---
{{SeeCompatTable}}{{ apiref("AnimationEvent") }}

La propriété en lecture seule **`AnimationEvent.animationName`** est une {{domxref("DOMString")}} contenant la valeur de la propriété CSS {{cssxref("animation-name")}} associée à la transition.

## Syntaxe

    nom = AnimationEvent.animationName

## Spécifications

| Spécification                                                                                                                    | Statut                               | Commentaires         |
| -------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------ | -------------------- |
| {{SpecName('CSS3 Animations', '#AnimationEvent-animationName', 'AnimationEvent.animationName')}} | {{Spec2('CSS3 Animations')}} | Première définition. |

## Compatibilité des navigateurs

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

## Voir aussi

- [Utiliser les animations CSS](/fr/docs/CSS/Animations_CSS)
- {{cssxref("animation")}}, {{cssxref("animation-delay")}}, {{cssxref("animation-direction")}}, {{cssxref("animation-duration")}}, {{cssxref("animation-fill-mode")}}, {{cssxref("animation-iteration-count")}}, {{cssxref("animation-name")}}, {{cssxref("animation-play-state")}}, {{cssxref("animation-timing-function")}}, {{cssxref("@keyframes")}}.
- L'interface {{domxref("AnimationEvent")}} à laquelle elle appartient.