From 05a7219ba9605649cb6daa281e26209eaa73adf0 Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Fri, 28 May 2021 12:36:36 -0700 Subject: fix MacroWrongXRefError flaws for some domxref calls (#1018) --- files/zh-cn/web/api/broadcastchannel/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'files/zh-cn/web/api/broadcastchannel/index.html') diff --git a/files/zh-cn/web/api/broadcastchannel/index.html b/files/zh-cn/web/api/broadcastchannel/index.html index 7ba7c289ea..d2b5763863 100644 --- a/files/zh-cn/web/api/broadcastchannel/index.html +++ b/files/zh-cn/web/api/broadcastchannel/index.html @@ -35,9 +35,9 @@ translation_of: Web/API/BroadcastChannel

事件处理程序

{{domxref("BroadcastChannel.onmessage")}}
-
{{domxref("EventHandler")}} ,用于定义当该对象上触发了 {{event("message")}} 事件时要执行的函数。
+
{{event("Event_handlers", "event handler")}} ,用于定义当该对象上触发了 {{event("message")}} 事件时要执行的函数。
{{domxref("BroadcastChannel.onmessageerror")}}
-
{{domxref("EventHandler")}} ,用于定义当该对象上触发了类型为 {{domxref("MessageError")}} 的 {{domxref("MessageEvent")}} 事件时要执行的函数。当接收到一条无法反序列化的消息时会触发此事件。
+
{{event("Event_handlers", "event handler")}} ,用于定义当该对象上触发了类型为 {{domxref("MessageError")}} 的 {{domxref("MessageEvent")}} 事件时要执行的函数。当接收到一条无法反序列化的消息时会触发此事件。

方法

-- cgit v1.2.3-54-g00ecf