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-cn/web/api/htmlbodyelement/index.html | 34 +++++++++++++------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'files/zh-cn/web/api/htmlbodyelement/index.html') 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
{{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")}} called whenever an object receives a {{event("message")}} event.  
+
Is an {{domxref("EventHandler")}} called whenever an object receives a {{event("message")}} event.  
{{domxref("WindowEventHandlers.onmessageerror")}}
-
Is an {{event("Event_handlers")}} called whenever an object receives a {{event("messageerror")}} event.
+
Is an {{domxref("eventHandler")}} called whenever an object receives a {{event("messageerror")}} event.
{{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.onrejectionhandled")}}
-
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.
+
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.
{{domxref("WindowEventHandlers.onresize")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("resize")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("resize")}} 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")}}
-
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.
+
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.
{{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.

规范

-- cgit v1.2.3-54-g00ecf