-
Notifications
You must be signed in to change notification settings - Fork 8k
/
index.md
46 lines (36 loc) · 4.1 KB
/
index.md
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
44
45
46
---
title: animationiteration
slug: Web/API/Element/animationiteration_event
---
{{APIRef}}
L'événement `animationiteration` est déclenché lorsqu'une itération d'une animation se termine. Cet événement ne se produit pas pour les animations avec animation-iteration-count valant 1.`
## Informations générales
- Spécification
- : [CSS Animations](http://www.w3.org/TR/css3-animations/#animation-events)
- Interface
- : AnimationEvent
- Synchronisme
- : synchronous
- Propagation
- : Oui
- Annulable
- : Non
- Cible
- : Document, Element
- 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
- [`animationstart`](/fr/docs/Web/API/Element/animationstart_event)
- [`animationend`](/fr/docs/Web/API/Element/animationend_event)
- [`animationiteration`](/fr/docs/Web/API/Element/animationiteration_event)
## Voir aussi
- [Utilisation des animations CSS](/fr/docs/CSS/Using_CSS_animations)