diff options
author | Ryan Johnson <rjohnson@mozilla.com> | 2021-05-28 11:58:24 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-28 14:58:24 -0400 |
commit | 2958ec7e85c9a1182cd81728e3705948a2c39d71 (patch) | |
tree | 1cbe65159e7bd5b35114a54df6ac7f3935c4dbc9 /files/zh-cn/web/api/workerglobalscope | |
parent | 5e0ce5ef27d3e182d3385b61c6b0197727843b70 (diff) | |
download | translated-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/workerglobalscope')
-rw-r--r-- | files/zh-cn/web/api/workerglobalscope/index.html | 10 |
1 files changed, 5 insertions, 5 deletions
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 <dl> <dt>{{domxref("WorkerGlobalScope.onerror")}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("error")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("error")}} event is raised.</dd> <dt>{{domxref("WorkerGlobalScope.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("WorkerGlobalScope.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("WorkerGlobalScope.onlanguagechange")}}</dt> - <dd>An {{domxref("EventHandler")}} fired at the global/worker scope object when the user's preferred languages change.</dd> + <dd>An {{event("Event_handlers")}} fired at the global/worker scope object when the user's preferred languages change.</dd> </dl> <dl> <dt>{{domxref("WorkerGlobalScope.onclose")}} {{non-standard_inline}}</dt> - <dd>Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("close")}} event is raised.</dd> + <dd>Is an {{event("Event_handlers")}} representing the code to be called when the {{event("close")}} event is raised.</dd> <dt>{{domxref("WorkerGlobalScope.onrejectionhandled")}} {{non-standard_inline}}</dt> <dd>An event handler for handled <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise" title="The Promise object is used for deferred and asynchronous computations. A Promise represents an operation that hasn't completed yet, but is expected in the future."><code>Promise</code></a> rejection events.</dd> <dt>{{domxref("WorkerGlobalScope.onunhandledrejection")}} {{non-standard_inline}}</dt> |