Skip to content

Commit

Permalink
zh-cn: update the description of the animationiteration event (#24912)
Browse files Browse the repository at this point in the history
Co-authored-by: A1lo <[email protected]>
  • Loading branch information
kongbai1996 and yin1999 authored Dec 12, 2024
1 parent d815c81 commit 28af85d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions files/zh-cn/web/api/element/animationiteration_event/index.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: GlobalEventHandlers.onanimationiteration
title: Element:animationiteration 事件
slug: Web/API/Element/animationiteration_event
---

{{APIRef("CSS3 Animations")}}
{{APIRef}}

[`animationiteration`](/zh-CN/docs/Web/API/Element/animationiteration_event)事件的处理器 . 当 [CSS Animation](/zh-CN/docs/Web/CSS/CSS_animations) 运动到最后一帧时触发。An iteration ends when a single pass through the sequence of animation instructions is completed by executing the last animation step.
**`animationiteration`** 事件会在一次 [CSS 动画](/zh-CN/docs/Web/CSS/CSS_animations)迭代的结束和另一次迭代的开始时触发。此事件不会与 {{domxref("Element/animationend_event", "animationend")}} 事件同时发生,因此其不会发生在 `animation-iteration-count` 为 1 的动画上。

## 语法

Expand Down

0 comments on commit 28af85d

Please sign in to comment.