From 220a7d23b0755acc06146c1262aa09ba22d6e3b1 Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Fri, 28 May 2021 12:05:52 -0700 Subject: Revert "replace some domxref macro calls with event macro calls (#1016)" (#1017) This reverts commit 2958ec7e85c9a1182cd81728e3705948a2c39d71. --- files/zh-tw/web/api/document/index.html | 6 +- files/zh-tw/web/api/globaleventhandlers/index.html | 170 ++++++++++----------- files/zh-tw/web/api/htmlmediaelement/index.html | 2 +- files/zh-tw/web/api/window/index.html | 4 +- files/zh-tw/web/api/windoweventhandlers/index.html | 26 ++-- files/zh-tw/web/api/xmlhttprequest/index.html | 4 +- 6 files changed, 106 insertions(+), 106 deletions(-) (limited to 'files/zh-tw/web') diff --git a/files/zh-tw/web/api/document/index.html b/files/zh-tw/web/api/document/index.html index f3064fdb7e..35285c2178 100644 --- a/files/zh-tw/web/api/document/index.html +++ b/files/zh-tw/web/api/document/index.html @@ -173,9 +173,9 @@ translation_of: Web/API/Document
{{domxref("Document.oncut")}} {{non-standard_inline}}
Represents the event handling code for the {{event("cut")}} event.
{{domxref("Document.onfullscreenchange")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("fullscreenchange")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("fullscreenchange")}} event is raised.
{{domxref("Document.onfullscreenerror")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("fullscreenerror")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("fullscreenerror")}} event is raised.
{{domxref("Document.onpaste")}} {{non-standard_inline}}
Represents the event handling code for the {{event("paste")}} event.
{{domxref("Document.onpointerlockchange")}} {{experimental_inline}}
@@ -185,7 +185,7 @@ translation_of: Web/API/Document
{{domxref("Document.onreadystatechange")}} {{gecko_minversion_inline("1.9.2")}}
Represents the event handling code for the {{event("readystatechange")}} event.
{{domxref("Document.onselectionchange")}} {{experimental_inline}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("selectionchange")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("selectionchange")}} event is raised.
{{domxref("Document.onwheel")}} {{non-standard_inline}}
Represents the event handling code for the {{event("wheel")}} event.
diff --git a/files/zh-tw/web/api/globaleventhandlers/index.html b/files/zh-tw/web/api/globaleventhandlers/index.html index a63f109ed6..492ed0ae93 100644 --- a/files/zh-tw/web/api/globaleventhandlers/index.html +++ b/files/zh-tw/web/api/globaleventhandlers/index.html @@ -22,179 +22,179 @@ translation_of: Web/API/GlobalEventHandlers
{{domxref("GlobalEventHandlers.onabort")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("abort")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("abort")}} event is raised.
{{domxref("GlobalEventHandlers.onanimationcancel")}} {{Non-standard_inline}}
-
An {{event("Event_handlers")}} called when an {{event("animationcancel")}} event is sent, indicating that a running CSS animation has been canceled.
+
An {{domxref("EventHandler")}} called when an {{event("animationcancel")}} event is sent, indicating that a running CSS animation has been canceled.
{{domxref("GlobalEventHandlers.onanimationend")}} {{Non-standard_inline}}
-
An {{event("Event_handlers")}} called when an {{event("animationend")}} event is sent, indicating that a CSS animation has stopped playing.
+
An {{domxref("EventHandler")}} called when an {{event("animationend")}} event is sent, indicating that a CSS animation has stopped playing.
{{domxref("GlobalEventHandlers.onanimationiteration")}} {{Non-standard_inline}}
-
An {{event("Event_handlers")}} called when an {{event("animationiteration")}} event has been sent, indicating that a CSS animation has begun playing a new iteration of the animation sequence.
+
An {{domxref("EventHandler")}} called when an {{event("animationiteration")}} event has been sent, indicating that a CSS animation has begun playing a new iteration of the animation sequence.
{{domxref("GlobalEventHandlers.onanimationstart")}} {{Non-standard_inline}}
-
An {{event("Event_handlers")}} called when an {{event("animationstart")}} event is sent, indicating that a CSS animation has started playing.
+
An {{domxref("EventHandler")}} called when an {{event("animationstart")}} event is sent, indicating that a CSS animation has started playing.
{{domxref("GlobalEventHandlers.onauxclick")}} {{Non-standard_inline}}
-
An {{event("Event_handlers")}} called when an {{event("auxclick")}} event is sent, indicating that a non-primary button has been pressed on an input device (e.g. a middle mouse button).
+
An {{domxref("EventHandler")}} called when an {{event("auxclick")}} event is sent, indicating that a non-primary button has been pressed on an input device (e.g. a middle mouse button).
{{domxref("GlobalEventHandlers.onblur")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("blur")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("blur")}} event is raised.
{{domxref("GlobalEventHandlers.onerror")}}
Is an {{domxref("OnErrorEventHandler")}} representing the code to be called when the {{event("error")}} event is raised.
{{domxref("GlobalEventHandlers.onfocus")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("focus")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("focus")}} event is raised.
{{domxref("GlobalEventHandlers.oncancel")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("cancel")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("cancel")}} event is raised.
{{domxref("GlobalEventHandlers.oncanplay")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("canplay")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("canplay")}} event is raised.
{{domxref("GlobalEventHandlers.oncanplaythrough")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("canplaythrough")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("canplaythrough")}} event is raised.
{{domxref("GlobalEventHandlers.onchange")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("change")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("change")}} event is raised.
{{domxref("GlobalEventHandlers.onclick")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("click")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("click")}} event is raised.
{{domxref("GlobalEventHandlers.onclose")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("close")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("close")}} event is raised.
{{domxref("GlobalEventHandlers.oncontextmenu")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("contextmenu")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("contextmenu")}} event is raised.
{{domxref("GlobalEventHandlers.oncuechange")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("cuechange")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("cuechange")}} event is raised.
{{domxref("GlobalEventHandlers.ondblclick")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("dblclick")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("dblclick")}} event is raised.
{{domxref("GlobalEventHandlers.ondrag")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("drag")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("drag")}} event is raised.
{{domxref("GlobalEventHandlers.ondragend")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("dragend")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("dragend")}} event is raised.
{{domxref("GlobalEventHandlers.ondragenter")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("dragenter")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("dragenter")}} event is raised.
{{domxref("GlobalEventHandlers.ondragexit")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("dragexit")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("dragexit")}} event is raised.
{{domxref("GlobalEventHandlers.ondragleave")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("dragleave")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("dragleave")}} event is raised.
{{domxref("GlobalEventHandlers.ondragover")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("dragover")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("dragover")}} event is raised.
{{domxref("GlobalEventHandlers.ondragstart")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("dragstart")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("dragstart")}} event is raised.
{{domxref("GlobalEventHandlers.ondrop")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("drop")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("drop")}} event is raised.
{{domxref("GlobalEventHandlers.ondurationchange")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("durationchange")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("durationchange")}} event is raised.
{{domxref("GlobalEventHandlers.onemptied")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("emptied")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("emptied")}} event is raised.
{{domxref("GlobalEventHandlers.onended")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("ended")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("ended")}} event is raised.
{{domxref("GlobalEventHandlers.ongotpointercapture")}}
-

Is an {{event("Event_handlers")}} representing the code to be called when the {{event("gotpointercapture")}} event type is raised.

+

Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("gotpointercapture")}} event type is raised.

{{domxref("GlobalEventHandlers.oninput")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("input")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("input")}} event is raised.
{{domxref("GlobalEventHandlers.oninvalid")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("invalid")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("invalid")}} event is raised.
{{domxref("GlobalEventHandlers.onkeydown")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("keydown")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("keydown")}} event is raised.
{{domxref("GlobalEventHandlers.onkeypress")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("keypress")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("keypress")}} event is raised.
{{domxref("GlobalEventHandlers.onkeyup")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("keyup")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("keyup")}} event is raised.
{{domxref("GlobalEventHandlers.onload")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("load")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("load")}} event is raised.
{{domxref("GlobalEventHandlers.onloadeddata")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("loadeddata")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("loadeddata")}} event is raised.
{{domxref("GlobalEventHandlers.onloadedmetadata")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("loadedmetadata")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("loadedmetadata")}} event is raised.
{{domxref("GlobalEventHandlers.onloadend")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("loadend")}} event is raised (when progress has stopped on the loading of a resource.)
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("loadend")}} event is raised (when progress has stopped on the loading of a resource.)
{{domxref("GlobalEventHandlers.onloadstart")}}
-
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.)
+
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.)
{{domxref("GlobalEventHandlers.onlostpointercapture")}}
-

Is an {{event("Event_handlers")}} representing the code to be called when the {{event("lostpointercapture")}} event type is raised.

+

Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("lostpointercapture")}} event type is raised.

{{domxref("GlobalEventHandlers.onmousedown")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("mousedown")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("mousedown")}} event is raised.
{{domxref("GlobalEventHandlers.onmouseenter")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("mouseenter")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("mouseenter")}} event is raised.
{{domxref("GlobalEventHandlers.onmouseleave")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("mouseleave")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("mouseleave")}} event is raised.
{{domxref("GlobalEventHandlers.onmousemove")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("mousemove")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("mousemove")}} event is raised.
{{domxref("GlobalEventHandlers.onmouseout")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("mouseout")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("mouseout")}} event is raised.
{{domxref("GlobalEventHandlers.onmouseover")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("mouseover")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("mouseover")}} event is raised.
{{domxref("GlobalEventHandlers.onmouseup")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("mouseup")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("mouseup")}} event is raised.
{{domxref("GlobalEventHandlers.onmousewheel")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("mousewheel")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("mousewheel")}} event is raised.
{{domxref("GlobalEventHandlers.onpause")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pause")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pause")}} event is raised.
{{domxref("GlobalEventHandlers.onplay")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("play")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("play")}} event is raised.
{{domxref("GlobalEventHandlers.onplaying")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("playing")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("playing")}} event is raised.
{{domxref("GlobalEventHandlers.onpointerdown")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pointerdown")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pointerdown")}} event is raised.
{{domxref("GlobalEventHandlers.onpointermove")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pointermove")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pointermove")}} event is raised.
{{domxref("GlobalEventHandlers.onpointerup")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pointerup")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pointerup")}} event is raised.
{{domxref("GlobalEventHandlers.onpointercancel")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pointercancel")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pointercancel")}} event is raised.
{{domxref("GlobalEventHandlers.onpointerover")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pointerover")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pointerover")}} event is raised.
{{domxref("GlobalEventHandlers.onpointerout")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pointerout")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pointerout")}} event is raised.
{{domxref("GlobalEventHandlers.onpointerenter")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pointerevent")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pointerevent")}} event is raised.
{{domxref("GlobalEventHandlers.onpointerleave")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pointerleave")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pointerleave")}} event is raised.
{{domxref("GlobalEventHandlers.onpointerlockchange")}} {{experimental_inline}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pointerlockchange")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pointerlockchange")}} event is raised.
{{domxref("GlobalEventHandlers.onpointerlockerror")}} {{experimental_inline}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pointerlockerror")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pointerlockerror")}} event is raised.
{{domxref("GlobalEventHandlers.onprogress")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("progress")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("progress")}} event is raised.
{{domxref("GlobalEventHandlers.onratechange")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("ratechange")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("ratechange")}} event is raised.
{{domxref("GlobalEventHandlers.onreset")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("reset")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("reset")}} event is raised.
{{domxref("GlobalEventHandlers.onscroll")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("scroll")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("scroll")}} event is raised.
{{domxref("GlobalEventHandlers.onseeked")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("seeked")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("seeked")}} event is raised.
{{domxref("GlobalEventHandlers.onseeking")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("seeking")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("seeking")}} event is raised.
{{domxref("GlobalEventHandlers.onselect")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("select")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("select")}} event is raised.
{{domxref("GlobalEventHandlers.onselectstart")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("selectionchange")}} event is raised, i.e. when the user starts to make a new text selection on a web page.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("selectionchange")}} event is raised, i.e. when the user starts to make a new text selection on a web page.
{{domxref("GlobalEventHandlers.onselectionchange")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("selectionchange")}} event is raised, i.e. when the text selected on a web page changes.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("selectionchange")}} event is raised, i.e. when the text selected on a web page changes.
{{domxref("GlobalEventHandlers.onshow")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("show")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("show")}} event is raised.
{{domxref("GlobalEventHandlers.onsort")}} {{experimental_inline}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("sort")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("sort")}} event is raised.
{{domxref("GlobalEventHandlers.onstalled")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("stalled")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("stalled")}} event is raised.
{{domxref("GlobalEventHandlers.onsubmit")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("submit")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("submit")}} event is raised.
{{domxref("GlobalEventHandlers.onsuspend")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("suspend")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("suspend")}} event is raised.
{{domxref("GlobalEventHandlers.ontimeupdate")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("timeupdate")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("timeupdate")}} event is raised.
{{domxref("GlobalEventHandlers.onvolumechange")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("volumechange")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("volumechange")}} event is raised.
{{domxref("GlobalEventHandlers.ontouchcancel")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("touchcancel")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("touchcancel")}} event is raised.
{{domxref("GlobalEventHandlers.ontouchend")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("touchend")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("touchend")}} event is raised.
{{domxref("GlobalEventHandlers.ontouchmove")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("touchmove")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("touchmove")}} event is raised.
{{domxref("GlobalEventHandlers.ontouchstart")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("touchstart")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("touchstart")}} event is raised.
{{domxref("GlobalEventHandlers.ontransitioncancel")}}
-
An {{event("Event_handlers")}} called when a {{event("transitioncancel")}} event is sent, indicating that a CSS transition has been cancelled.
+
An {{domxref("EventHandler")}} called when a {{event("transitioncancel")}} event is sent, indicating that a CSS transition has been cancelled.
{{domxref("GlobalEventHandlers.ontransitionend")}}
-
An {{event("Event_handlers")}} called when a {{event("transitionend")}} event is sent, indicating that a CSS transition has finished playing.
+
An {{domxref("EventHandler")}} called when a {{event("transitionend")}} event is sent, indicating that a CSS transition has finished playing.
{{domxref("GlobalEventHandlers.onwaiting")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("waiting")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("waiting")}} event is raised.
@@ -677,6 +677,6 @@ translation_of: Web/API/GlobalEventHandlers diff --git a/files/zh-tw/web/api/htmlmediaelement/index.html b/files/zh-tw/web/api/htmlmediaelement/index.html index 5d120312e4..68d1122e81 100644 --- a/files/zh-tw/web/api/htmlmediaelement/index.html +++ b/files/zh-tw/web/api/htmlmediaelement/index.html @@ -131,7 +131,7 @@ translation_of: Web/API/HTMLMediaElement
{{domxref("HTMLMediaElement.onmozinterruptbegin")}} {{non-standard_inline}} {{obsolete_inline}}
-
Sets the {{event("Event_handlers")}} called when the media element is interrupted because of the Audio Channel manager. This was Firefox-specific, having been implemented for Firefox OS, and was removed in Firefox 55.
+
Sets the {{domxref("EventHandler")}} called when the media element is interrupted because of the Audio Channel manager. This was Firefox-specific, having been implemented for Firefox OS, and was removed in Firefox 55.
{{domxref("HTMLMediaElement.onmozinterruptend")}} {{non-standard_inline}} {{obsolete_inline}}
Sets the {{domxref('EventHandler')}} called when the interruption is concluded. This was Firefox-specific, having been implemented for Firefox OS, and was removed in Firefox 55.
diff --git a/files/zh-tw/web/api/window/index.html b/files/zh-tw/web/api/window/index.html index 6e7913341a..82dcff08e4 100644 --- a/files/zh-tw/web/api/window/index.html +++ b/files/zh-tw/web/api/window/index.html @@ -367,7 +367,7 @@ translation_of: Web/API/Window
{{domxref("GlobalEventHandlers.onload")}}
Called after all resources and the DOM are fully loaded. WILL NOT get called when the page is loaded from cache, such as with back button.
{{domxref("WindowEventHandlers.onmessage")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("message")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("message")}} event is raised.
{{domxref("GlobalEventHandlers.onmousedown")}}
Called when ANY mouse button is pressed.
{{domxref("GlobalEventHandlers.onmousemove")}}
@@ -405,7 +405,7 @@ translation_of: Web/API/Window
{{domxref("GlobalEventHandlers.onselect")}}
Called after text in an input field is selected
{{domxref("GlobalEventHandlers.onselectionchange")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("selectionchange")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("selectionchange")}} event is raised.
{{domxref("WindowEventHandlers.onstorage")}}
Called when there is a change in session storage or local storage. See {{event("storage")}} event
{{domxref("GlobalEventHandlers.onsubmit")}}
diff --git a/files/zh-tw/web/api/windoweventhandlers/index.html b/files/zh-tw/web/api/windoweventhandlers/index.html index 8969321808..d3d29ddb63 100644 --- a/files/zh-tw/web/api/windoweventhandlers/index.html +++ b/files/zh-tw/web/api/windoweventhandlers/index.html @@ -15,33 +15,33 @@ translation_of: Web/API/WindowEventHandlers
{{domxref("WindowEventHandlers.onafterprint")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("afterprint")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("afterprint")}} event is raised.
{{domxref("WindowEventHandlers.onbeforeprint")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("beforeprint")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("beforeprint")}} event is raised.
{{domxref("WindowEventHandlers.onbeforeunload")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("beforeunload")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("beforeunload")}} event is raised.
{{domxref("WindowEventHandlers.onhashchange")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("hashchange")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("hashchange")}} event is raised.
{{domxref("WindowEventHandlers.onlanguagechange")}} {{experimental_inline}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("languagechange")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("languagechange")}} event is raised.
{{domxref("WindowEventHandlers.onmessage")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("message")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("message")}} event is raised.
{{domxref("WindowEventHandlers.onoffline")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("offline")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("offline")}} event is raised.
{{domxref("WindowEventHandlers.ononline")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("online")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("online")}} event is raised.
{{domxref("WindowEventHandlers.onpagehide")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pagehide")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pagehide")}} event is raised.
{{domxref("WindowEventHandlers.onpageshow")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pageshow")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pageshow")}} event is raised.
{{domxref("WindowEventHandlers.onpopstate")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("popstate")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("popstate")}} event is raised.
{{domxref("WindowEventHandlers.onstorage")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("storage")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("storage")}} event is raised.
{{domxref("WindowEventHandlers.onunhandledrejection")}} {{experimental_inline}}
An event handler for unhandled {{jsxref("Promise")}} rejection events.
{{domxref("WindowEventHandlers.onunload")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("unload")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("unload")}} event is raised.

方法

diff --git a/files/zh-tw/web/api/xmlhttprequest/index.html b/files/zh-tw/web/api/xmlhttprequest/index.html index 5ae608ee1b..35d87072c6 100644 --- a/files/zh-tw/web/api/xmlhttprequest/index.html +++ b/files/zh-tw/web/api/xmlhttprequest/index.html @@ -36,7 +36,7 @@ translation_of: Web/API/XMLHttpRequest
{{domxref("XMLHttpRequest.onreadystatechange")}}
-
一個 {{event("Event_handlers")}}(事件處理器)函式,會於 readyState 屬性之狀態改變時被呼叫。
+
一個 {{domxref("EventHandler")}}(事件處理器)函式,會於 readyState 屬性之狀態改變時被呼叫。
{{domxref("XMLHttpRequest.readyState")}} {{readonlyinline}}
回傳一個無符號短整數(unsigned short)代表請求之狀態。
{{domxref("XMLHttpRequest.response")}} {{readonlyinline}}
@@ -63,7 +63,7 @@ translation_of: Web/API/XMLHttpRequest
{{domxref("XMLHttpRequest.timeout")}}
為一無符號長整數(unsigned long),代表一個請求在逾時而被自動中止前的可等待時間(毫秒)。
{{domxref("XMLHttpRequestEventTarget.ontimeout")}}
-
為一 {{event("Event_handlers")}} 物件,會於請求逾時時被呼叫。{{gecko_minversion_inline("12.0")}}
+
為一 {{domxref("EventHandler")}} 物件,會於請求逾時時被呼叫。{{gecko_minversion_inline("12.0")}}
{{domxref("XMLHttpRequest.upload")}} {{readonlyinline}}
為一 {{domxref("XMLHttpRequestUpload")}} 物件,代表上傳的進度。
{{domxref("XMLHttpRequest.withCredentials")}}
-- cgit v1.2.3-54-g00ecf