diff options
Diffstat (limited to 'files/zh-cn/web/api/globaleventhandlers')
25 files changed, 98 insertions, 98 deletions
diff --git a/files/zh-cn/web/api/globaleventhandlers/index.html b/files/zh-cn/web/api/globaleventhandlers/index.html index 3ddd4d9a93..c175e7afce 100644 --- a/files/zh-cn/web/api/globaleventhandlers/index.html +++ b/files/zh-cn/web/api/globaleventhandlers/index.html @@ -23,151 +23,151 @@ translation_of: Web/API/GlobalEventHandlers <dl> <dt>{{domxref("GlobalEventHandlers.onabort")}}</dt> - <dd>这是一个事件句柄 {{domxref("EventHandler")}} ,当停止{{event("abort")}} 事件触发时会被调用。</dd> + <dd>这是一个事件句柄 {{event("Event_handlers")}} ,当停止{{event("abort")}} 事件触发时会被调用。</dd> <dt>{{domxref("GlobalEventHandlers.onanimationcancel")}} {{Non-standard_inline}}</dt> - <dd>这是一个事件句柄 {{domxref("EventHandler")}} ,当 CSS 动画取消{{event("animationcancel")}}事件触发时被调用,这表示某个正在执行的CSS动画被取消了。</dd> + <dd>这是一个事件句柄 {{event("Event_handlers")}} ,当 CSS 动画取消{{event("animationcancel")}}事件触发时被调用,这表示某个正在执行的CSS动画被取消了。</dd> <dt>{{domxref("GlobalEventHandlers.onanimationend")}} {{Non-standard_inline}}</dt> - <dd>这是一个事件句柄 {{domxref("EventHandler")}} ,当 CSS 动画播放完成{{event("animationend")}} 事件触发时被调用,这表示某个CSS动画已经播放完成了。</dd> + <dd>这是一个事件句柄 {{event("Event_handlers")}} ,当 CSS 动画播放完成{{event("animationend")}} 事件触发时被调用,这表示某个CSS动画已经播放完成了。</dd> <dt>{{domxref("GlobalEventHandlers.onblur")}}</dt> - <dd>这是一个事件句柄 {{domxref("EventHandler")}} ,当失去焦点 {{event("blur")}} 事件触发时会被调用。</dd> + <dd>这是一个事件句柄 {{event("Event_handlers")}} ,当失去焦点 {{event("blur")}} 事件触发时会被调用。</dd> <dt>{{domxref("GlobalEventHandlers.onerror")}}</dt> - <dd>这是一个错误发生时的事件句柄 {{domxref("EventHandler")}} ,当发生错误{{event("error")}} 事件时会被调用。</dd> + <dd>这是一个错误发生时的事件句柄 {{event("Event_handlers")}} ,当发生错误{{event("error")}} 事件时会被调用。</dd> <dt>{{domxref("GlobalEventHandlers.onfocus")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("focus")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("focus")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.oncancel")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("cancel")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("cancel")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.oncanplay")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("canplay")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("canplay")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.oncanplaythrough")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("canplaythrough")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("canplaythrough")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onchange")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("change")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("change")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onclick")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("click")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("click")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onclose")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("close")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("close")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.oncontextmenu")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("contextmenu")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("contextmenu")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.oncuechange")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("cuechange")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("cuechange")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.ondblclick")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("dblclick")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("dblclick")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.ondrag")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("drag")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("drag")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.ondragend")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("dragend")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("dragend")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.ondragenter")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("dragenter")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("dragenter")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.ondragexit")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("dragexit")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("dragexit")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.ondragleave")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("dragleave")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("dragleave")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.ondragover")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("dragover")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("dragover")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.ondragstart")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("dragstart")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("dragstart")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.ondrop")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("drop")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("drop")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.ondurationchange")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("durationchange")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("durationchange")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onemptied")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("emptied")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("emptied")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onended")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("ended")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("ended")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.oninput")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("input")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("input")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.oninvalid")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("invalid")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("invalid")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onkeydown")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("keydown")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("keydown")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onkeypress")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("keypress")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("keypress")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onkeyup")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("keyup")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("keyup")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onload")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("load")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("load")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onloadeddata")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("loadeddata")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("loadeddata")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onloadedmetadata")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("loadedmetadata")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("loadedmetadata")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onloadstart")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("loadstart")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("loadstart")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onmousedown")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("mousedown")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("mousedown")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onmouseenter")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("mouseenter")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("mouseenter")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onmouseleave")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("mouseleave")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("mouseleave")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onmousemove")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("mousemove")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("mousemove")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onmouseout")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("mouseout")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("mouseout")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onmouseover")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("mouseover")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("mouseover")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onmouseup")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("mouseup")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("mouseup")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onmousewheel")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("mousewheel")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("mousewheel")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandler.onmozfullscreenchange")}} {{non-standard_inline}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("fullscreenchange")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("fullscreenchange")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandler.onmozfullscreenerror")}} {{non-standard_inline}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("fullscreenerror")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("fullscreenerror")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onpause")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pause")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pause")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onplay")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("play")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("play")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onplaying")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("playing")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("playing")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onpointerdown")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pointerdown")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pointerdown")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onpointermove")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pointermove")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pointermove")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onpointerup")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pointerup")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pointerup")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onpointercancel")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pointercancel")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pointercancel")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onpointerover")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pointerover")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pointerover")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onpointerout")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pointerout")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pointerout")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onpointerenter")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pointerevent")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pointerevent")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onpointerleave")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pointerleave")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pointerleave")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onpointerlockchange")}} {{experimental_inline}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pointerlockchange")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pointerlockchange")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onpointerlockerror")}} {{experimental_inline}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pointerlockerror")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pointerlockerror")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onprogress")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("progress")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("progress")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onratechange")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("ratechange")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("ratechange")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onreset")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("reset")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("reset")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onscroll")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("scroll")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("scroll")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onseeked")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("seeked")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("seeked")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onseeking")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("seeking")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("seeking")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onselect")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("select")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("select")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onshow")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("show")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("show")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onsort")}} {{experimental_inline}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("sort")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("sort")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onstalled")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("stalled")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("stalled")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onsubmit")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("submit")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("submit")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onsuspend")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("suspend")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("suspend")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.ontimeupdate")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("timeupdate")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("timeupdate")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onvolumechange")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("volumechange")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("volumechange")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onwaiting")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("waiting")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("waiting")}} event is raised.</dd> </dl> <h2 id="Methods">Methods</h2> diff --git a/files/zh-cn/web/api/globaleventhandlers/onauxclick/index.html b/files/zh-cn/web/api/globaleventhandlers/onauxclick/index.html index f99474b970..abecd02f74 100644 --- a/files/zh-cn/web/api/globaleventhandlers/onauxclick/index.html +++ b/files/zh-cn/web/api/globaleventhandlers/onauxclick/index.html @@ -14,7 +14,7 @@ translation_of: Web/API/GlobalEventHandlers/onauxclick <div> </div> -<p><strong>onauxclick</strong> 属性是一个 {{domxref("EventHandler")}},当 {{event("auxclick")}} 事件发生时被调用,例如按下了输入设备上的非主按钮 (e.g. 鼠标中键)。</p> +<p><strong>onauxclick</strong> 属性是一个 {{event("Event_handlers")}},当 {{event("auxclick")}} 事件发生时被调用,例如按下了输入设备上的非主按钮 (e.g. 鼠标中键)。</p> <p>实现该属性的一个目标是,提高浏览器与按钮行为之间的兼容性 - 事件行为正在更新,以便 {{Event("click")}} 只触发主按钮点击(例如,鼠标左键)。然后开发人员可以使用 {{Event("auxclick")}} 来为非主按钮点击提供明确的行为。在此之前,{{Event("click")}} 通常会针对所有输入设备按钮点击,浏览器行为有些不一致。</p> diff --git a/files/zh-cn/web/api/globaleventhandlers/oncancel/index.html b/files/zh-cn/web/api/globaleventhandlers/oncancel/index.html index 9603f52914..bcfe77ec0b 100644 --- a/files/zh-cn/web/api/globaleventhandlers/oncancel/index.html +++ b/files/zh-cn/web/api/globaleventhandlers/oncancel/index.html @@ -13,7 +13,7 @@ translation_of: Web/API/GlobalEventHandlers/oncancel --- <div>{{ApiRef("HTML DOM")}}</div> -<p>{{domxref("GlobalEventHandlers")}} 的<code><strong>oncancel</strong></code> 属性是一个{{domxref("EventHandler")}},它是用来处理发送给{{HTMLElement("dialog")}}元素的{{event("cancel")}} 事件的。</p> +<p>{{domxref("GlobalEventHandlers")}} 的<code><strong>oncancel</strong></code> 属性是一个{{event("Event_handlers")}},它是用来处理发送给{{HTMLElement("dialog")}}元素的{{event("cancel")}} 事件的。</p> <p>当用户需要离开一个<dialog>元素的时候就会触发 <code>cancel</code> 事件. 这个事件处理器会防止事件向上传递,因此任何父处理器都不会接受到该事件。</p> diff --git a/files/zh-cn/web/api/globaleventhandlers/oncanplay/index.html b/files/zh-cn/web/api/globaleventhandlers/oncanplay/index.html index e50e97572c..d3a8b5c9b3 100644 --- a/files/zh-cn/web/api/globaleventhandlers/oncanplay/index.html +++ b/files/zh-cn/web/api/globaleventhandlers/oncanplay/index.html @@ -5,7 +5,7 @@ translation_of: Web/API/GlobalEventHandlers/oncanplay --- <div>{{ ApiRef("HTML DOM") }}</div> -<p>{{domxref("GlobalEventHandlers")}}的<strong><code>oncanplay</code></strong> 属性是{{domxref("EventHandler")}} 处理 {{event("canplay")}} 事件。</p> +<p>{{domxref("GlobalEventHandlers")}}的<strong><code>oncanplay</code></strong> 属性是{{event("Event_handlers")}} 处理 {{event("canplay")}} 事件。</p> <p><code>当用户代理能够播放媒体时canplay</code> 事件被触发 , 但是预估没有加载全部的数据以支持媒体播放完毕。</p> diff --git a/files/zh-cn/web/api/globaleventhandlers/oncanplaythrough/index.html b/files/zh-cn/web/api/globaleventhandlers/oncanplaythrough/index.html index 6e478aa535..d60261dbfc 100644 --- a/files/zh-cn/web/api/globaleventhandlers/oncanplaythrough/index.html +++ b/files/zh-cn/web/api/globaleventhandlers/oncanplaythrough/index.html @@ -5,7 +5,7 @@ translation_of: Web/API/GlobalEventHandlers/oncanplaythrough --- <div>{{ ApiRef("HTML DOM") }}</div> -<p>全局事件处理器({{domxref("GlobalEventHandlers")}} )之一的 {{event("canplaythrough")}} 属性,是处理当前元素{{event("canplaythrough")}} 事件的事件处理器{{domxref("EventHandler")}} .</p> +<p>全局事件处理器({{domxref("GlobalEventHandlers")}} )之一的 {{event("canplaythrough")}} 属性,是处理当前元素{{event("canplaythrough")}} 事件的事件处理器{{event("Event_handlers")}} .</p> <p>当用户代理可以播放媒体资源并且可以播放至其结束而不必进一步缓冲内容时,触发<code>canplaythrough</code>事件。</p> diff --git a/files/zh-cn/web/api/globaleventhandlers/onclick/index.html b/files/zh-cn/web/api/globaleventhandlers/onclick/index.html index f0e5322370..a32d18545a 100644 --- a/files/zh-cn/web/api/globaleventhandlers/onclick/index.html +++ b/files/zh-cn/web/api/globaleventhandlers/onclick/index.html @@ -14,7 +14,7 @@ translation_of: Web/API/GlobalEventHandlers/onclick --- <div>{{ ApiRef("HTML DOM") }}</div> -<p>全局事件处理器({{domxref("GlobalEventHandlers")}})之一的 <code><strong>onclick</strong></code> 属性,是处理当前元素的 {{event("click")}} 事件的事件处理器({{domxref("EventHandler")}})。</p> +<p>全局事件处理器({{domxref("GlobalEventHandlers")}})之一的 <code><strong>onclick</strong></code> 属性,是处理当前元素的 {{event("click")}} 事件的事件处理器({{event("Event_handlers")}})。</p> <p>当用户点击一个元素时,会触发 <code>click</code> 事件。在每次点击的整个过程中,<code>click</code> 事件的运行顺序在 {{event("mousedown")}} 和 {{event("mouseup")}} 事件之后。</p> diff --git a/files/zh-cn/web/api/globaleventhandlers/onclose/index.html b/files/zh-cn/web/api/globaleventhandlers/onclose/index.html index f7061e8243..95403d72a4 100644 --- a/files/zh-cn/web/api/globaleventhandlers/onclose/index.html +++ b/files/zh-cn/web/api/globaleventhandlers/onclose/index.html @@ -15,7 +15,7 @@ translation_of: Web/API/GlobalEventHandlers/onclose --- <div>{{ApiRef("HTML DOM")}} {{SeeCompatTable}}</div> -<p>{{domxref("GlobalEventHandlers")}} mixin 的 <code><strong>onclose</strong></code> 属性是一个 {{domxref("EventHandler")}}, 用来处理发送给 {{HTMLElement("dialog")}} 元素的 {{event("close")}} 事件。</p> +<p>{{domxref("GlobalEventHandlers")}} mixin 的 <code><strong>onclose</strong></code> 属性是一个 {{event("Event_handlers")}}, 用来处理发送给 {{HTMLElement("dialog")}} 元素的 {{event("close")}} 事件。</p> <p>当用户关闭一个 <code><dialog></code> 时,<code>close</code> 事件将被触发。</p> diff --git a/files/zh-cn/web/api/globaleventhandlers/oncuechange/index.html b/files/zh-cn/web/api/globaleventhandlers/oncuechange/index.html index 001cf49c01..8c79948caf 100644 --- a/files/zh-cn/web/api/globaleventhandlers/oncuechange/index.html +++ b/files/zh-cn/web/api/globaleventhandlers/oncuechange/index.html @@ -10,7 +10,7 @@ translation_of: Web/API/GlobalEventHandlers/oncuechange --- <div>{{ ApiRef("HTML DOM") }}</div> -<div><strong><code>oncuechange</code></strong> 属性属于{{domxref("GlobalEventHandlers")}},是一个处理{{event("cuechange")}}事件的{{domxref("EventHandler")}}。</div> +<div><strong><code>oncuechange</code></strong> 属性属于{{domxref("GlobalEventHandlers")}},是一个处理{{event("cuechange")}}事件的{{event("Event_handlers")}}。</div> <div>当{{domxref("TextTrack")}}更改了当前显示的提示时,<code>cuechange</code> 事件将会触发。</div> diff --git a/files/zh-cn/web/api/globaleventhandlers/ondurationchange/index.html b/files/zh-cn/web/api/globaleventhandlers/ondurationchange/index.html index fad4e30ac8..d296fd895e 100644 --- a/files/zh-cn/web/api/globaleventhandlers/ondurationchange/index.html +++ b/files/zh-cn/web/api/globaleventhandlers/ondurationchange/index.html @@ -10,7 +10,7 @@ original_slug: Web/API/GlobalEventHandlers/时长改变 --- <div>{{ ApiRef("HTML DOM") }}</div> -<p>{{domxref("GlobalEventHandlers")}} 的<strong><code>ondurationchange</code></strong>属性是一个处理 {{event("durationchange")}} 事件的{{domxref("EventHandler")}} 。</p> +<p>{{domxref("GlobalEventHandlers")}} 的<strong><code>ondurationchange</code></strong>属性是一个处理 {{event("durationchange")}} 事件的{{event("Event_handlers")}} 。</p> <p><code><strong>durationchange</strong></code>事件会在<code>duration</code>发生变更时触发。</p> diff --git a/files/zh-cn/web/api/globaleventhandlers/onended/index.html b/files/zh-cn/web/api/globaleventhandlers/onended/index.html index cd744371fa..931382b746 100644 --- a/files/zh-cn/web/api/globaleventhandlers/onended/index.html +++ b/files/zh-cn/web/api/globaleventhandlers/onended/index.html @@ -5,7 +5,7 @@ translation_of: Web/API/GlobalEventHandlers/onended --- <div>{{ ApiRef("HTML DOM") }}</div> -<p>The <strong><code>onended</code></strong> property of the {{domxref("GlobalEventHandlers")}} mixin is the {{domxref("EventHandler")}} for processing {{event("ended")}} events.</p> +<p>The <strong><code>onended</code></strong> property of the {{domxref("GlobalEventHandlers")}} mixin is the {{event("Event_handlers")}} for processing {{event("ended")}} events.</p> <p>The <code>ended</code> event is fired when playback has stopped because the end of the media was reached.</p> diff --git a/files/zh-cn/web/api/globaleventhandlers/oninput/index.html b/files/zh-cn/web/api/globaleventhandlers/oninput/index.html index 6118a8cc8e..f7489cc18a 100644 --- a/files/zh-cn/web/api/globaleventhandlers/oninput/index.html +++ b/files/zh-cn/web/api/globaleventhandlers/oninput/index.html @@ -8,7 +8,7 @@ translation_of: Web/API/GlobalEventHandlers/oninput --- <div>{{ ApiRef("HTML DOM") }}</div> -<p>{{domxref("GlobalEventHandlers")}}mixin的<code><strong>oninput</strong></code>属性是{{domxref("EventHandler")}},它处理{{HTMLElement("input")}},{{HTMLElement("select")}}和 {{HTMLElement("textarea")}} 元素上的 {{event("input")}} 事件。 它还会在{{domxref("HTMLElement.contentEditable", "contenteditable")}} 或 {{domxref("Document.designMode", "designMode")}}打开的元素上处理这些事件。</p> +<p>{{domxref("GlobalEventHandlers")}}mixin的<code><strong>oninput</strong></code>属性是{{event("Event_handlers")}},它处理{{HTMLElement("input")}},{{HTMLElement("select")}}和 {{HTMLElement("textarea")}} 元素上的 {{event("input")}} 事件。 它还会在{{domxref("HTMLElement.contentEditable", "contenteditable")}} 或 {{domxref("Document.designMode", "designMode")}}打开的元素上处理这些事件。</p> <div class="blockIndicator note"> <p>注意:与<code>oninput</code>不同的是, {{domxref("GlobalEventHandlers.onchange", "onchange")}} 事件处理程序不一定会针对元素值的每次更改而调用。</p> diff --git a/files/zh-cn/web/api/globaleventhandlers/oninvalid/index.html b/files/zh-cn/web/api/globaleventhandlers/oninvalid/index.html index c192d2ee5e..01c10578c7 100644 --- a/files/zh-cn/web/api/globaleventhandlers/oninvalid/index.html +++ b/files/zh-cn/web/api/globaleventhandlers/oninvalid/index.html @@ -11,7 +11,7 @@ translation_of: Web/API/GlobalEventHandlers/oninvalid --- <div>{{ ApiRef("HTML DOM") }}</div> -<p>{{domxref("GlobalEventHandlers")}} 混合的<code><strong>oninvalid</strong></code>属性 是 {{domxref("EventHandler")}} 处理{{event("invalid")}} 事件。</p> +<p>{{domxref("GlobalEventHandlers")}} 混合的<code><strong>oninvalid</strong></code>属性 是 {{event("Event_handlers")}} 处理{{event("invalid")}} 事件。</p> <p><code>invalid</code> 事件被触发当一个从属元素被勾选checked 并且与之前的选中方式不同。 有效的从属元素在表单之前被选中, 或者在 <code><a href="/en-US/docs/Learn/HTML/Forms/Form_validation">checkValidity()</a></code> 方法之后它自己的表单被调用。</p> diff --git a/files/zh-cn/web/api/globaleventhandlers/onloadeddata/index.html b/files/zh-cn/web/api/globaleventhandlers/onloadeddata/index.html index a5f43df54a..916cb103fc 100644 --- a/files/zh-cn/web/api/globaleventhandlers/onloadeddata/index.html +++ b/files/zh-cn/web/api/globaleventhandlers/onloadeddata/index.html @@ -8,7 +8,7 @@ translation_of: Web/API/GlobalEventHandlers/onloadeddata --- <div>{{ ApiRef("HTML DOM") }}</div> -<p>{{domxref("GlobalEventHandlers")}}的<strong><code>onloadeddata</code></strong> 属性是事件 {{event("loadeddata")}}的处理{{domxref("EventHandler")}} 。</p> +<p>{{domxref("GlobalEventHandlers")}}的<strong><code>onloadeddata</code></strong> 属性是事件 {{event("loadeddata")}}的处理{{event("Event_handlers")}} 。</p> <p><code>loadeddata</code> 事件当媒体资源的第一帧加载完成时被触发。</p> diff --git a/files/zh-cn/web/api/globaleventhandlers/onloadedmetadata/index.html b/files/zh-cn/web/api/globaleventhandlers/onloadedmetadata/index.html index 7f2d977c24..0c357102be 100644 --- a/files/zh-cn/web/api/globaleventhandlers/onloadedmetadata/index.html +++ b/files/zh-cn/web/api/globaleventhandlers/onloadedmetadata/index.html @@ -10,7 +10,7 @@ translation_of: Web/API/GlobalEventHandlers/onloadedmetadata --- <div>{{ ApiRef("HTML DOM") }}</div> -<p>{{domxref("GlobalEventHandlers")}} mixin的<strong><code>onloadedmetadata</code></strong>属性是处理{{event("loadedmetadata")}}事件的{{domxref("EventHandler")}}。</p> +<p>{{domxref("GlobalEventHandlers")}} mixin的<strong><code>onloadedmetadata</code></strong>属性是处理{{event("loadedmetadata")}}事件的{{event("Event_handlers")}}。</p> <p><code>loadedmetadata</code>事件在元数据(metadata)被加载完成后触发。</p> diff --git a/files/zh-cn/web/api/globaleventhandlers/onloadend/index.html b/files/zh-cn/web/api/globaleventhandlers/onloadend/index.html index 0f9db1b169..66d7935fda 100644 --- a/files/zh-cn/web/api/globaleventhandlers/onloadend/index.html +++ b/files/zh-cn/web/api/globaleventhandlers/onloadend/index.html @@ -5,7 +5,7 @@ translation_of: Web/API/GlobalEventHandlers/onloadend --- <div>{{ApiRef}}</div> -<div>{{domxref("GlobalEventHandlers")}}的<strong><code>onloadend</code></strong> 属性是用来 表示触发{{event("loadend")}}事件时(资源加载进度停止时)的{{domxref("EventHandler")}}。</div> +<div>{{domxref("GlobalEventHandlers")}}的<strong><code>onloadend</code></strong> 属性是用来 表示触发{{event("loadend")}}事件时(资源加载进度停止时)的{{event("Event_handlers")}}。</div> <h2 id="语法">语法</h2> diff --git a/files/zh-cn/web/api/globaleventhandlers/onloadstart/index.html b/files/zh-cn/web/api/globaleventhandlers/onloadstart/index.html index 33bfbd734a..5a359fcd6a 100644 --- a/files/zh-cn/web/api/globaleventhandlers/onloadstart/index.html +++ b/files/zh-cn/web/api/globaleventhandlers/onloadstart/index.html @@ -5,7 +5,7 @@ translation_of: Web/API/GlobalEventHandlers/onloadstart --- <div>{{ApiRef}}</div> -<p>The <strong><code>onloadstart</code></strong> property of the {{domxref("GlobalEventHandlers")}} mixin is an {{domxref("EventHandler")}} representing the code to be called when the {{event("loadstart")}} event is raised (when progress has begun on the loading of a resource.)</p> +<p>The <strong><code>onloadstart</code></strong> property of the {{domxref("GlobalEventHandlers")}} mixin is an {{event("Event_handlers")}} representing the code to be called when the {{event("loadstart")}} event is raised (when progress has begun on the loading of a resource.)</p> <h2 id="Syntax">Syntax</h2> diff --git a/files/zh-cn/web/api/globaleventhandlers/onlostpointercapture/index.html b/files/zh-cn/web/api/globaleventhandlers/onlostpointercapture/index.html index 2f8763c94d..b952076800 100644 --- a/files/zh-cn/web/api/globaleventhandlers/onlostpointercapture/index.html +++ b/files/zh-cn/web/api/globaleventhandlers/onlostpointercapture/index.html @@ -5,7 +5,7 @@ translation_of: Web/API/GlobalEventHandlers/onlostpointercapture --- <p>{{ApiRef("HTML DOM")}}</p> -<p><span class="seoSummary">The <strong><code>onlostpointercapture</code></strong> {{domxref("EventHandler")}} property of the {{domxref("GlobalEventHandlers")}} interface returns the event handler (function) for the {{event("lostpointercapture")}} event type.</span></p> +<p><span class="seoSummary">The <strong><code>onlostpointercapture</code></strong> {{event("Event_handlers")}} property of the {{domxref("GlobalEventHandlers")}} interface returns the event handler (function) for the {{event("lostpointercapture")}} event type.</span></p> <p><font face="x-locale-heading-primary, zillaslab, Palatino, Palatino Linotype, x-locale-heading-secondary, serif"><span style="font-size: 40px;"><strong>语法</strong></span></font></p> diff --git a/files/zh-cn/web/api/globaleventhandlers/onmouseenter/index.html b/files/zh-cn/web/api/globaleventhandlers/onmouseenter/index.html index 2a554abe9e..ea58f0c02a 100644 --- a/files/zh-cn/web/api/globaleventhandlers/onmouseenter/index.html +++ b/files/zh-cn/web/api/globaleventhandlers/onmouseenter/index.html @@ -5,7 +5,7 @@ translation_of: Web/API/GlobalEventHandlers/onmouseenter --- <div>{{ ApiRef("HTML DOM") }}</div> -<div>{{domxref("GlobalEventHandlers")}}的<strong><code>onmouseenter</code></strong> 属性绑定 {{domxref("EventHandler")}} 后来处理{{event("mouseenter")}} 事件.</div> +<div>{{domxref("GlobalEventHandlers")}}的<strong><code>onmouseenter</code></strong> 属性绑定 {{event("Event_handlers")}} 后来处理{{event("mouseenter")}} 事件.</div> <div> </div> diff --git a/files/zh-cn/web/api/globaleventhandlers/onmouseleave/index.html b/files/zh-cn/web/api/globaleventhandlers/onmouseleave/index.html index 0daf4fed44..02fe0e4058 100644 --- a/files/zh-cn/web/api/globaleventhandlers/onmouseleave/index.html +++ b/files/zh-cn/web/api/globaleventhandlers/onmouseleave/index.html @@ -5,7 +5,7 @@ translation_of: Web/API/GlobalEventHandlers/onmouseleave --- <div>{{ ApiRef("HTML DOM") }}</div> -<p>{{domxref("GlobalEventHandlers")}} mixin 中的 <strong><code>onmouseleave</code></strong> 属性是用于处理鼠标移出({{event("mouseleave")}})事件的事件管理器({{domxref("EventHandler")}})。</p> +<p>{{domxref("GlobalEventHandlers")}} mixin 中的 <strong><code>onmouseleave</code></strong> 属性是用于处理鼠标移出({{event("mouseleave")}})事件的事件管理器({{event("Event_handlers")}})。</p> <p><code>mouseleave</code>事件在定点设备(通常来说指的是鼠标) 移出某个元素时触发。</p> diff --git a/files/zh-cn/web/api/globaleventhandlers/onplay/index.html b/files/zh-cn/web/api/globaleventhandlers/onplay/index.html index ea8e8d654f..2a40195914 100644 --- a/files/zh-cn/web/api/globaleventhandlers/onplay/index.html +++ b/files/zh-cn/web/api/globaleventhandlers/onplay/index.html @@ -5,7 +5,7 @@ translation_of: Web/API/GlobalEventHandlers/onplay --- <div>{{ ApiRef("HTML DOM") }}</div> -<p>The <code><strong>onplay</strong></code><em> </em>property of the {{domxref("GlobalEventHandlers")}} mixin is the {{domxref("EventHandler")}} for processing {{event("play")}} events.</p> +<p>The <code><strong>onplay</strong></code><em> </em>property of the {{domxref("GlobalEventHandlers")}} mixin is the {{event("Event_handlers")}} for processing {{event("play")}} events.</p> <h2 id="语法">语法</h2> diff --git a/files/zh-cn/web/api/globaleventhandlers/onplaying/index.html b/files/zh-cn/web/api/globaleventhandlers/onplaying/index.html index 25b77afc32..bdf07aae0b 100644 --- a/files/zh-cn/web/api/globaleventhandlers/onplaying/index.html +++ b/files/zh-cn/web/api/globaleventhandlers/onplaying/index.html @@ -5,7 +5,7 @@ translation_of: Web/API/GlobalEventHandlers/onplaying --- <div>{{ApiRef("HTML DOM")}}</div> -<p>The <strong><code>onplaying</code></strong> property of the {{domxref("GlobalEventHandlers")}} mixin is the {{domxref("EventHandler")}} for processing {{event("playing")}} events.</p> +<p>The <strong><code>onplaying</code></strong> property of the {{domxref("GlobalEventHandlers")}} mixin is the {{event("Event_handlers")}} for processing {{event("playing")}} events.</p> <p><code>playing</code> 事件将会在媒体做好播放准备后(因暂停或网络延迟而导致媒体数据缺失)触发。</p> diff --git a/files/zh-cn/web/api/globaleventhandlers/onreset/index.html b/files/zh-cn/web/api/globaleventhandlers/onreset/index.html index 7f43a32d5a..43b947544c 100644 --- a/files/zh-cn/web/api/globaleventhandlers/onreset/index.html +++ b/files/zh-cn/web/api/globaleventhandlers/onreset/index.html @@ -5,7 +5,7 @@ translation_of: Web/API/GlobalEventHandlers/onreset --- <p>{{ ApiRef() }}</p> -<p>The <code><strong>GlobalEventHandlers.onreset</strong></code> 属性包含 {{domxref("EventHandler")}} ,当收到一个{{event("reset")}} 事件时触发</p> +<p>The <code><strong>GlobalEventHandlers.onreset</strong></code> 属性包含 {{event("Event_handlers")}} ,当收到一个{{event("reset")}} 事件时触发</p> <h2 id="Syntax" name="Syntax">语法</h2> diff --git a/files/zh-cn/web/api/globaleventhandlers/onsubmit/index.html b/files/zh-cn/web/api/globaleventhandlers/onsubmit/index.html index 1909ba0ef9..dda1f91037 100644 --- a/files/zh-cn/web/api/globaleventhandlers/onsubmit/index.html +++ b/files/zh-cn/web/api/globaleventhandlers/onsubmit/index.html @@ -14,7 +14,7 @@ translation_of: Web/API/GlobalEventHandlers/onsubmit --- <div>{{ ApiRef("HTML DOM") }}</div> -<p>{{domxref("GlobalEventHandlers")}} 的 <code><strong>onsubmit</strong></code> 属性是一个处理 {{event("submit")}} 的 {{domxref("EventHandler")}}。</p> +<p>{{domxref("GlobalEventHandlers")}} 的 <code><strong>onsubmit</strong></code> 属性是一个处理 {{event("submit")}} 的 {{event("Event_handlers")}}。</p> <p><code>submit</code> 事件会在用户点击提交按钮(<code><input type="submit"/></code> 元素)提交表单时触发。</p> diff --git a/files/zh-cn/web/api/globaleventhandlers/ontransitioncancel/index.html b/files/zh-cn/web/api/globaleventhandlers/ontransitioncancel/index.html index e476a7a4a1..461ec2951f 100644 --- a/files/zh-cn/web/api/globaleventhandlers/ontransitioncancel/index.html +++ b/files/zh-cn/web/api/globaleventhandlers/ontransitioncancel/index.html @@ -5,10 +5,10 @@ translation_of: Web/API/GlobalEventHandlers/ontransitioncancel --- <div>{{APIRef("CSS3 Transitions")}}</div> -<p>{{domxref("GlobalEventHandlers")}}混合 的 <code><strong>ontransitioncancel</strong></code> 属性 是处理 {{event("transitioncancel")}} 事件的手柄{{domxref("EventHandler")}}.</p> +<p>{{domxref("GlobalEventHandlers")}}混合 的 <code><strong>ontransitioncancel</strong></code> 属性 是处理 {{event("transitioncancel")}} 事件的手柄{{event("Event_handlers")}}.</p> <div class="blockIndicator note"> -<p>domxref("GlobalEventHandlers") 与 domxref("EventHandler"): dom修订版本的事件手柄。</p> +<p>domxref("GlobalEventHandlers") 与 event("Event_handlers"): dom修订版本的事件手柄。</p> <p>event("transitioncancel"):transitioncancel事件</p> </div> diff --git a/files/zh-cn/web/api/globaleventhandlers/onwheel/index.html b/files/zh-cn/web/api/globaleventhandlers/onwheel/index.html index 217a85c8da..88731e78e3 100644 --- a/files/zh-cn/web/api/globaleventhandlers/onwheel/index.html +++ b/files/zh-cn/web/api/globaleventhandlers/onwheel/index.html @@ -15,7 +15,7 @@ translation_of: Web/API/GlobalEventHandlers/onwheel <h2 id="归纳说明">归纳说明</h2> -<p>{{domxref("GlobalEventHandlers")}} 的 <code>onwheel</code> 特性指向当前元素的滑轮滑动事件函数 {{domxref("EventHandler")}}。</p> +<p>{{domxref("GlobalEventHandlers")}} 的 <code>onwheel</code> 特性指向当前元素的滑轮滑动事件函数 {{event("Event_handlers")}}。</p> <div class="blockIndicator note"> <p><strong>注意:</strong>不要混淆 <code>onwheel</code><strong> </strong>和 {{domxref("GlobalEventHandlers.onscroll", "onscroll")}}:<code>onwheel</code> 通常用于处理滑轮的滚动事件,而 <code>onscroll</code> 用于处理某个对象内容的滚动。</p> |