aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/htmlbodyelement
diff options
context:
space:
mode:
authorRyan Johnson <rjohnson@mozilla.com>2021-05-28 11:58:24 -0700
committerGitHub <noreply@github.com>2021-05-28 14:58:24 -0400
commit2958ec7e85c9a1182cd81728e3705948a2c39d71 (patch)
tree1cbe65159e7bd5b35114a54df6ac7f3935c4dbc9 /files/zh-cn/web/api/htmlbodyelement
parent5e0ce5ef27d3e182d3385b61c6b0197727843b70 (diff)
downloadtranslated-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-cn/web/api/htmlbodyelement')
-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 a573d7165f..3d1f6f020e 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 {{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")}} called whenever an object receives a {{event("message")}} event.  </dd>
+ <dd>Is an {{event("Event_handlers")}} called whenever an object receives a {{event("message")}} event.  </dd>
<dt>{{domxref("WindowEventHandlers.onmessageerror")}}</dt>
- <dd>Is an {{domxref("eventHandler")}} called whenever an object receives a {{event("messageerror")}} event.</dd>
+ <dd>Is an {{event("Event_handlers")}} called whenever an object receives a {{event("messageerror")}} event.</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.onrejectionhandled")}}</dt>
- <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>
+ <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>
<dt>{{domxref("WindowEventHandlers.onresize")}}</dt>
- <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("resize")}} event is raised.</dd>
+ <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("resize")}} 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")}}</dt>
- <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>
+ <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>
<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>