diff options
Diffstat (limited to 'files/zh-cn/web/api/dedicatedworkerglobalscope/index.html')
-rw-r--r-- | files/zh-cn/web/api/dedicatedworkerglobalscope/index.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/api/dedicatedworkerglobalscope/index.html b/files/zh-cn/web/api/dedicatedworkerglobalscope/index.html index 79044ba3cb..fd7d515eae 100644 --- a/files/zh-cn/web/api/dedicatedworkerglobalscope/index.html +++ b/files/zh-cn/web/api/dedicatedworkerglobalscope/index.html @@ -46,9 +46,9 @@ translation_of: Web/API/DedicatedWorkerGlobalScope <dl> <dt>{{domxref("DedicatedWorkerGlobalScope.onmessage")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("message")}} event is raised. These events are of type {{domxref("MessageEvent")}} and will be called when the worker receives a message from the document that started it (i.e. from the {{domxref("Worker.postMessage")}} method.)</dd> + <dd>Is an {{event("Event_handlers", "event handler")}} representing the code to be called when the {{event("message")}} event is raised. These events are of type {{domxref("MessageEvent")}} and will be called when the worker receives a message from the document that started it (i.e. from the {{domxref("Worker.postMessage")}} method.)</dd> <dt>{{domxref("DedicatedWorkerGlobalScope.onmessageerror")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("messageerror")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers", "event handler")}} representing the code to be called when the {{event("messageerror")}} event is raised.</dd> </dl> <h2 id="方法">方法</h2> |