aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/htmlbodyelement/index.html
diff options
context:
space:
mode:
authorRyan Johnson <rjohnson@mozilla.com>2021-05-28 12:05:52 -0700
committerGitHub <noreply@github.com>2021-05-28 12:05:52 -0700
commit220a7d23b0755acc06146c1262aa09ba22d6e3b1 (patch)
tree50a6ffafe663dc65f1a0f8816862d60e7ce23a33 /files/zh-cn/web/api/htmlbodyelement/index.html
parent2958ec7e85c9a1182cd81728e3705948a2c39d71 (diff)
downloadtranslated-content-220a7d23b0755acc06146c1262aa09ba22d6e3b1.tar.gz
translated-content-220a7d23b0755acc06146c1262aa09ba22d6e3b1.tar.bz2
translated-content-220a7d23b0755acc06146c1262aa09ba22d6e3b1.zip
Revert "replace some domxref macro calls with event macro calls (#1016)" (#1017)
This reverts commit 2958ec7e85c9a1182cd81728e3705948a2c39d71.
Diffstat (limited to 'files/zh-cn/web/api/htmlbodyelement/index.html')
-rw-r--r--files/zh-cn/web/api/htmlbodyelement/index.html34
1 files changed, 17 insertions, 17 deletions
diff --git a/files/zh-cn/web/api/htmlbodyelement/index.html b/files/zh-cn/web/api/htmlbodyelement/index.html
index 3d1f6f020e..a573d7165f 100644
--- a/files/zh-cn/web/api/htmlbodyelement/index.html
+++ b/files/zh-cn/web/api/htmlbodyelement/index.html
@@ -40,39 +40,39 @@ translation_of: Web/API/HTMLBodyElement
<dl>
<dt>{{domxref("WindowEventHandlers.onafterprint")}}</dt>
- <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("afterprint")}} event is raised.</dd>
+ <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("afterprint")}} event is raised.</dd>
<dt>{{domxref("WindowEventHandlers.onbeforeprint")}}</dt>
- <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("beforeprint")}} event is raised.</dd>
+ <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("beforeprint")}} event is raised.</dd>
<dt>{{domxref("WindowEventHandlers.onbeforeunload")}}</dt>
- <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("beforeunload")}} event is raised.</dd>
+ <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("beforeunload")}} event is raised.</dd>
<dt>{{domxref("WindowEventHandlers.onhashchange")}}</dt>
- <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("hashchange")}} event is raised.</dd>
+ <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("hashchange")}} event is raised.</dd>
<dt>{{domxref("WindowEventHandlers.onlanguagechange")}} {{experimental_inline}}</dt>
- <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("languagechange")}} event is raised.</dd>
+ <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("languagechange")}} event is raised.</dd>
<dt>{{domxref("WindowEventHandlers.onmessage")}}</dt>
- <dd>Is an {{event("Event_handlers")}} called whenever an object receives a {{event("message")}} event.  </dd>
+ <dd>Is an {{domxref("EventHandler")}} called whenever an object receives a {{event("message")}} event.  </dd>
<dt>{{domxref("WindowEventHandlers.onmessageerror")}}</dt>
- <dd>Is an {{event("Event_handlers")}} called whenever an object receives a {{event("messageerror")}} event.</dd>
+ <dd>Is an {{domxref("eventHandler")}} called whenever an object receives a {{event("messageerror")}} event.</dd>
<dt>{{domxref("WindowEventHandlers.onoffline")}}</dt>
- <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("offline")}} event is raised.</dd>
+ <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("offline")}} event is raised.</dd>
<dt>{{domxref("WindowEventHandlers.ononline")}}</dt>
- <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("online")}} event is raised.</dd>
+ <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("online")}} event is raised.</dd>
<dt>{{domxref("WindowEventHandlers.onpagehide")}}</dt>
- <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pagehide")}} event is raised.</dd>
+ <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pagehide")}} event is raised.</dd>
<dt>{{domxref("WindowEventHandlers.onpageshow")}}</dt>
- <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pageshow")}} event is raised.</dd>
+ <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pageshow")}} event is raised.</dd>
<dt>{{domxref("WindowEventHandlers.onpopstate")}}</dt>
- <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("popstate")}} event is raised.</dd>
+ <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("popstate")}} event is raised.</dd>
<dt>{{domxref("WindowEventHandlers.onrejectionhandled")}}</dt>
- <dd>An {{event("Event_handlers")}} representing the code executed when the {{event("rejectionhandled")}} event is raised, indicating that a {{jsxref("Promise")}} was rejected and the rejection has been handled.</dd>
+ <dd>An {{domxref("EventHandler")}} representing the code executed when the {{event("rejectionhandled")}} event is raised, indicating that a {{jsxref("Promise")}} was rejected and the rejection has been handled.</dd>
<dt>{{domxref("WindowEventHandlers.onresize")}}</dt>
- <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("resize")}} event is raised.</dd>
+ <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("resize")}} event is raised.</dd>
<dt>{{domxref("WindowEventHandlers.onstorage")}}</dt>
- <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("storage")}} event is raised.</dd>
+ <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("storage")}} event is raised.</dd>
<dt>{{domxref("WindowEventHandlers.onunhandledrejection")}}</dt>
- <dd>An {{event("Event_handlers")}} representing the code executed when the {{event("unhandledrejection")}} event is raised, indicating that a {{jsxref("Promise")}} was rejected but the rejection was not handled.</dd>
+ <dd>An {{domxref("EventHandler")}} representing the code executed when the {{event("unhandledrejection")}} event is raised, indicating that a {{jsxref("Promise")}} was rejected but the rejection was not handled.</dd>
<dt>{{domxref("WindowEventHandlers.onunload")}}</dt>
- <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("unload")}} event is raised.</dd>
+ <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("unload")}} event is raised.</dd>
</dl>
<h2 id="规范">规范</h2>