From 28af85d981c8d7ebda2c5c777982f7e9f9c94663 Mon Sep 17 00:00:00 2001 From: Fuguo <1782765876@qq.com> Date: Thu, 12 Dec 2024 16:51:43 +0800 Subject: [PATCH] zh-cn: update the description of the `animationiteration` event (#24912) Co-authored-by: A1lo --- .../zh-cn/web/api/element/animationiteration_event/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/zh-cn/web/api/element/animationiteration_event/index.md b/files/zh-cn/web/api/element/animationiteration_event/index.md index c507e690484353..9f895ba19da55c 100644 --- a/files/zh-cn/web/api/element/animationiteration_event/index.md +++ b/files/zh-cn/web/api/element/animationiteration_event/index.md @@ -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 的动画上。 ## 语法