diff options
author | Ryan Johnson <rjohnson@mozilla.com> | 2021-05-28 11:58:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-28 14:58:24 -0400 |
commit | 2958ec7e85c9a1182cd81728e3705948a2c39d71 (patch) | |
tree | 1cbe65159e7bd5b35114a54df6ac7f3935c4dbc9 /files/zh-tw/web/api | |
parent | 5e0ce5ef27d3e182d3385b61c6b0197727843b70 (diff) | |
download | translated-content-2958ec7e85c9a1182cd81728e3705948a2c39d71.tar.gz translated-content-2958ec7e85c9a1182cd81728e3705948a2c39d71.tar.bz2 translated-content-2958ec7e85c9a1182cd81728e3705948a2c39d71.zip |
replace some domxref macro calls with event macro calls (#1016)
Diffstat (limited to 'files/zh-tw/web/api')
-rw-r--r-- | files/zh-tw/web/api/document/index.html | 6 | ||||
-rw-r--r-- | files/zh-tw/web/api/globaleventhandlers/index.html | 170 | ||||
-rw-r--r-- | files/zh-tw/web/api/htmlmediaelement/index.html | 2 | ||||
-rw-r--r-- | files/zh-tw/web/api/window/index.html | 4 | ||||
-rw-r--r-- | files/zh-tw/web/api/windoweventhandlers/index.html | 26 | ||||
-rw-r--r-- | files/zh-tw/web/api/xmlhttprequest/index.html | 4 |
6 files changed, 106 insertions, 106 deletions
diff --git a/files/zh-tw/web/api/document/index.html b/files/zh-tw/web/api/document/index.html index 35285c2178..f3064fdb7e 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 <dt>{{domxref("Document.oncut")}} {{non-standard_inline}}</dt> <dd>Represents the event handling code for the {{event("cut")}} event.</dd> <dt>{{domxref("Document.onfullscreenchange")}}</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("Document.onfullscreenerror")}}</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("Document.onpaste")}} {{non-standard_inline}}</dt> <dd>Represents the event handling code for the {{event("paste")}} event.</dd> <dt>{{domxref("Document.onpointerlockchange")}} {{experimental_inline}}</dt> @@ -185,7 +185,7 @@ translation_of: Web/API/Document <dt>{{domxref("Document.onreadystatechange")}} {{gecko_minversion_inline("1.9.2")}}</dt> <dd>Represents the event handling code for the {{event("readystatechange")}} event.</dd> <dt>{{domxref("Document.onselectionchange")}} {{experimental_inline}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("selectionchange")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("selectionchange")}} event is raised.</dd> <dt>{{domxref("Document.onwheel")}} {{non-standard_inline}}</dt> <dd>Represents the event handling code for the {{event("wheel")}} event.</dd> </dl> diff --git a/files/zh-tw/web/api/globaleventhandlers/index.html b/files/zh-tw/web/api/globaleventhandlers/index.html index 492ed0ae93..a63f109ed6 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 <div id="Properties"> <dl> <dt>{{domxref("GlobalEventHandlers.onabort")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("abort")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("abort")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onanimationcancel")}} {{Non-standard_inline}}</dt> - <dd>An {{domxref("EventHandler")}} called when an {{event("animationcancel")}} event is sent, indicating that a running <a href="/docs/Web/CSS/CSS_Animations">CSS animation</a> has been canceled.</dd> + <dd>An {{event("Event_handlers")}} called when an {{event("animationcancel")}} event is sent, indicating that a running <a href="/docs/Web/CSS/CSS_Animations">CSS animation</a> has been canceled.</dd> <dt>{{domxref("GlobalEventHandlers.onanimationend")}} {{Non-standard_inline}}</dt> - <dd>An {{domxref("EventHandler")}} called when an {{event("animationend")}} event is sent, indicating that a <a href="/docs/Web/CSS/CSS_Animations">CSS animation</a> has stopped playing.</dd> + <dd>An {{event("Event_handlers")}} called when an {{event("animationend")}} event is sent, indicating that a <a href="/docs/Web/CSS/CSS_Animations">CSS animation</a> has stopped playing.</dd> <dt>{{domxref("GlobalEventHandlers.onanimationiteration")}} {{Non-standard_inline}}</dt> - <dd>An {{domxref("EventHandler")}} called when an {{event("animationiteration")}} event has been sent, indicating that a <a href="/docs/Web/CSS/CSS_Animations">CSS animation</a> has begun playing a new iteration of the animation sequence.</dd> + <dd>An {{event("Event_handlers")}} called when an {{event("animationiteration")}} event has been sent, indicating that a <a href="/docs/Web/CSS/CSS_Animations">CSS animation</a> has begun playing a new iteration of the animation sequence.</dd> <dt>{{domxref("GlobalEventHandlers.onanimationstart")}} {{Non-standard_inline}}</dt> - <dd>An {{domxref("EventHandler")}} called when an {{event("animationstart")}} event is sent, indicating that a <a href="/docs/Web/CSS/CSS_Animations">CSS animation</a> has started playing.</dd> + <dd>An {{event("Event_handlers")}} called when an {{event("animationstart")}} event is sent, indicating that a <a href="/docs/Web/CSS/CSS_Animations">CSS animation</a> has started playing.</dd> <dt>{{domxref("GlobalEventHandlers.onauxclick")}} {{Non-standard_inline}}</dt> - <dd>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).</dd> + <dd>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).</dd> <dt>{{domxref("GlobalEventHandlers.onblur")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("blur")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("blur")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onerror")}}</dt> <dd>Is an {{domxref("OnErrorEventHandler")}} representing the code to be called when the {{event("error")}} event is raised.</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.ongotpointercapture")}}</dt> <dd> - <p>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("gotpointercapture")}} event type is raised.</p> + <p>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("gotpointercapture")}} event type is raised.</p> </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.onloadend")}}</dt> - <dd>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.)</dd> + <dd>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.)</dd> <dt>{{domxref("GlobalEventHandlers.onloadstart")}}</dt> - <dd>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.)</dd> + <dd>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.)</dd> <dt>{{domxref("GlobalEventHandlers.onlostpointercapture")}}</dt> <dd> - <p>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("lostpointercapture")}} event type is raised.</p> + <p>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("lostpointercapture")}} event type is raised.</p> </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("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.onselectstart")}}</dt> - <dd>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.</dd> + <dd>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.</dd> <dt>{{domxref("GlobalEventHandlers.onselectionchange")}}</dt> - <dd>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.</dd> + <dd>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.</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.ontouchcancel")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("touchcancel")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("touchcancel")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.ontouchend")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("touchend")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("touchend")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.ontouchmove")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("touchmove")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("touchmove")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.ontouchstart")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("touchstart")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("touchstart")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.ontransitioncancel")}}</dt> - <dd>An {{domxref("EventHandler")}} called when a {{event("transitioncancel")}} event is sent, indicating that a <a href="/en-US/docs/Web/CSS/CSS_Transitions">CSS transition</a> has been cancelled.</dd> + <dd>An {{event("Event_handlers")}} called when a {{event("transitioncancel")}} event is sent, indicating that a <a href="/en-US/docs/Web/CSS/CSS_Transitions">CSS transition</a> has been cancelled.</dd> <dt>{{domxref("GlobalEventHandlers.ontransitionend")}}</dt> - <dd>An {{domxref("EventHandler")}} called when a {{event("transitionend")}} event is sent, indicating that a <a href="/en-US/docs/Web/CSS/CSS_Transitions">CSS transition</a> has finished playing.</dd> + <dd>An {{event("Event_handlers")}} called when a {{event("transitionend")}} event is sent, indicating that a <a href="/en-US/docs/Web/CSS/CSS_Transitions">CSS transition</a> has finished playing.</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> </div> @@ -677,6 +677,6 @@ translation_of: Web/API/GlobalEventHandlers <ul> <li>{{domxref("Element")}}</li> - <li>{{domxref("EventHandler")}}</li> + <li>{{event("Event_handlers")}}</li> <li>{{domxref("Event")}}</li> </ul> diff --git a/files/zh-tw/web/api/htmlmediaelement/index.html b/files/zh-tw/web/api/htmlmediaelement/index.html index 68d1122e81..5d120312e4 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 <dl> <dt>{{domxref("HTMLMediaElement.onmozinterruptbegin")}} {{non-standard_inline}} {{obsolete_inline}}</dt> - <dd>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.</dd> + <dd>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.</dd> <dt>{{domxref("HTMLMediaElement.onmozinterruptend")}} {{non-standard_inline}} {{obsolete_inline}}</dt> <dd>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.</dd> </dl> diff --git a/files/zh-tw/web/api/window/index.html b/files/zh-tw/web/api/window/index.html index 82dcff08e4..6e7913341a 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 <dt>{{domxref("GlobalEventHandlers.onload")}}</dt> <dd>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.</dd> <dt>{{domxref("WindowEventHandlers.onmessage")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("message")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("message")}} event is raised.</dd> <dt>{{domxref("GlobalEventHandlers.onmousedown")}}</dt> <dd>Called when ANY mouse button is pressed.</dd> <dt>{{domxref("GlobalEventHandlers.onmousemove")}}</dt> @@ -405,7 +405,7 @@ translation_of: Web/API/Window <dt>{{domxref("GlobalEventHandlers.onselect")}}</dt> <dd>Called after text in an input field is selected</dd> <dt>{{domxref("GlobalEventHandlers.onselectionchange")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("selectionchange")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("selectionchange")}} event is raised.</dd> <dt>{{domxref("WindowEventHandlers.onstorage")}}</dt> <dd>Called when there is a change in session storage or local storage. See {{event("storage")}} event</dd> <dt>{{domxref("GlobalEventHandlers.onsubmit")}}</dt> diff --git a/files/zh-tw/web/api/windoweventhandlers/index.html b/files/zh-tw/web/api/windoweventhandlers/index.html index d3d29ddb63..8969321808 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 <dl> <dt>{{domxref("WindowEventHandlers.onafterprint")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("afterprint")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("afterprint")}} event is raised.</dd> <dt>{{domxref("WindowEventHandlers.onbeforeprint")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("beforeprint")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("beforeprint")}} event is raised.</dd> <dt>{{domxref("WindowEventHandlers.onbeforeunload")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("beforeunload")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("beforeunload")}} event is raised.</dd> <dt>{{domxref("WindowEventHandlers.onhashchange")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("hashchange")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("hashchange")}} event is raised.</dd> <dt>{{domxref("WindowEventHandlers.onlanguagechange")}} {{experimental_inline}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("languagechange")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("languagechange")}} event is raised.</dd> <dt>{{domxref("WindowEventHandlers.onmessage")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("message")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("message")}} event is raised.</dd> <dt>{{domxref("WindowEventHandlers.onoffline")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("offline")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("offline")}} event is raised.</dd> <dt>{{domxref("WindowEventHandlers.ononline")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("online")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("online")}} event is raised.</dd> <dt>{{domxref("WindowEventHandlers.onpagehide")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pagehide")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pagehide")}} event is raised.</dd> <dt>{{domxref("WindowEventHandlers.onpageshow")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pageshow")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pageshow")}} event is raised.</dd> <dt>{{domxref("WindowEventHandlers.onpopstate")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("popstate")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("popstate")}} event is raised.</dd> <dt>{{domxref("WindowEventHandlers.onstorage")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("storage")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("storage")}} event is raised.</dd> <dt>{{domxref("WindowEventHandlers.onunhandledrejection")}} {{experimental_inline}}</dt> <dd>An event handler for unhandled {{jsxref("Promise")}} rejection events.</dd> <dt>{{domxref("WindowEventHandlers.onunload")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("unload")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("unload")}} event is raised.</dd> </dl> <h2 id="方法">方法</h2> diff --git a/files/zh-tw/web/api/xmlhttprequest/index.html b/files/zh-tw/web/api/xmlhttprequest/index.html index 35d87072c6..5ae608ee1b 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 <dl> <dt id="xmlhttprequest-onreadystatechange">{{domxref("XMLHttpRequest.onreadystatechange")}}</dt> - <dd>一個 {{domxref("EventHandler")}}(事件處理器)函式,會於 <code>readyState</code> 屬性之狀態改變時被呼叫。</dd> + <dd>一個 {{event("Event_handlers")}}(事件處理器)函式,會於 <code>readyState</code> 屬性之狀態改變時被呼叫。</dd> <dt id="xmlhttprequest-readystate">{{domxref("XMLHttpRequest.readyState")}} {{readonlyinline}}</dt> <dd>回傳一個無符號短整數(<code>unsigned short</code>)代表請求之狀態。</dd> <dt>{{domxref("XMLHttpRequest.response")}} {{readonlyinline}}</dt> @@ -63,7 +63,7 @@ translation_of: Web/API/XMLHttpRequest <dt id="xmlhttprequest-timeout">{{domxref("XMLHttpRequest.timeout")}}</dt> <dd>為一無符號長整數(<code>unsigned long</code>),代表一個請求在逾時而被自動中止前的可等待時間(毫秒)。</dd> <dt id="xmlhttprequesteventtarget-ontimeout">{{domxref("XMLHttpRequestEventTarget.ontimeout")}}</dt> - <dd>為一 {{domxref("EventHandler")}} 物件,會於請求逾時時被呼叫。{{gecko_minversion_inline("12.0")}}</dd> + <dd>為一 {{event("Event_handlers")}} 物件,會於請求逾時時被呼叫。{{gecko_minversion_inline("12.0")}}</dd> <dt id="xmlhttprequest-upload">{{domxref("XMLHttpRequest.upload")}} {{readonlyinline}}</dt> <dd>為一 {{domxref("XMLHttpRequestUpload")}} 物件,代表上傳的進度。</dd> <dt id="xmlhttprequest-withcredentials">{{domxref("XMLHttpRequest.withCredentials")}}</dt> |