CSS 애니메이션의 반복이 지정되어 있는 경우 매 반복이 끝날 때 발생한다.
animationend
이벤트와 동시에 발생하지 않으므로 animation-iteration-count
가 1인 애니메이션에 대해서는 발생하지 않는다.
element.addEventListener("animationiteration", function() { });
type | animationiteration |
---|---|
bubbles | yes |
cancelable | no |
handler | onanimationiteration |