From 2958ec7e85c9a1182cd81728e3705948a2c39d71 Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Fri, 28 May 2021 11:58:24 -0700 Subject: replace some domxref macro calls with event macro calls (#1016) --- files/zh-cn/web/api/workerglobalscope/index.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'files/zh-cn/web/api/workerglobalscope') diff --git a/files/zh-cn/web/api/workerglobalscope/index.html b/files/zh-cn/web/api/workerglobalscope/index.html index 8d9fef8dd7..23b754735f 100644 --- a/files/zh-cn/web/api/workerglobalscope/index.html +++ b/files/zh-cn/web/api/workerglobalscope/index.html @@ -50,18 +50,18 @@ translation_of: Web/API/WorkerGlobalScope
{{domxref("WorkerGlobalScope.onerror")}}
-
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("error")}} event is raised.
+
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("error")}} event is raised.
{{domxref("WorkerGlobalScope.onoffline")}}
-
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("offline")}} event is raised.
+
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("offline")}} event is raised.
{{domxref("WorkerGlobalScope.ononline")}}
-
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("online")}} event is raised.
+
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("online")}} event is raised.
{{domxref("WorkerGlobalScope.onlanguagechange")}}
-
An {{domxref("EventHandler")}} fired at the global/worker scope object when the user's preferred languages change.
+
An {{event("Event_handlers")}} fired at the global/worker scope object when the user's preferred languages change.
{{domxref("WorkerGlobalScope.onclose")}} {{non-standard_inline}}
-
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("close")}} event is raised.
+
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("close")}} event is raised.
{{domxref("WorkerGlobalScope.onrejectionhandled")}} {{non-standard_inline}}
An event handler for handled Promise rejection events.
{{domxref("WorkerGlobalScope.onunhandledrejection")}} {{non-standard_inline}}
-- cgit v1.2.3-54-g00ecf