blob: 65caf0c9657c862ed42555d709681b9135b33e1e (
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
36
37
38
39
40
41
42
43
|
---
title: animationend
slug: Web/API/HTMLElement/animationend_event
translation_of: Web/API/HTMLElement/animationend_event
original_slug: Web/Events/animationend
---
L'événement `animationend est déclenché quand une animation CSS est terminée.`
## Informations générales
- Spécification
- : [CSS Animations](http://www.w3.org/TR/css3-animations/#animation-events)
- Interface
- : AnimationEvent
- Propagation
- : Oui
- Annulable
- : Non
- Cible
- : Document, Element, Window
- Action par défaut
- : Aucune
## Propriétés
| Propriété | Type | Description |
| ---------------------------------------- | ------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `target` {{ReadOnlyInline}} | {{domxref("EventTarget")}} | La cible de l'événement (la plus haute cible dans l'arbre du DOM). |
| `type` {{ReadOnlyInline}} | {{domxref("DOMString")}} | Le type de l'événement. |
| `bubbles` {{ReadOnlyInline}} | `boolean` | Est-ce que l'événement se propage? |
| `cancelable` {{ReadOnlyInline}} | `boolean` | Est-il possible d'annuler l'événement? |
| `animationName` {{ReadOnlyInline}} | {{domxref("DOMString")}} | Le nom de la propriété CSS associéee à la transition. |
| `elapsedTime` {{ReadOnlyInline}} | Float | Le temps durant lequel l'animation a durée, en secondes, quand l'événement est déclenché, excepté le temps lorsque l'animation était en pause. Pour un événement **animationstart**, _elapsedTime_ vaut zéro à moins que _animation-delay_ ne soit négatif, et dans ce cas, l'événement sera déclenché avec un _elapsedTime_ de (-1 \* delay). |
## Evénements liés
- {{Event("animationstart")}}
- {{Event("animationend")}}
- {{Event("animationiteration")}}
## Voir aussi
- [Utilisation des animations CSS](/fr/docs/CSS/Using_CSS_animations)
|