diff options
author | Ryan Johnson <rjohnson@mozilla.com> | 2021-05-28 12:05:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-28 12:05:52 -0700 |
commit | 220a7d23b0755acc06146c1262aa09ba22d6e3b1 (patch) | |
tree | 50a6ffafe663dc65f1a0f8816862d60e7ce23a33 /files/zh-cn/web/api/windoweventhandlers/onunload | |
parent | 2958ec7e85c9a1182cd81728e3705948a2c39d71 (diff) | |
download | translated-content-220a7d23b0755acc06146c1262aa09ba22d6e3b1.tar.gz translated-content-220a7d23b0755acc06146c1262aa09ba22d6e3b1.tar.bz2 translated-content-220a7d23b0755acc06146c1262aa09ba22d6e3b1.zip |
Revert "replace some domxref macro calls with event macro calls (#1016)" (#1017)
This reverts commit 2958ec7e85c9a1182cd81728e3705948a2c39d71.
Diffstat (limited to 'files/zh-cn/web/api/windoweventhandlers/onunload')
-rw-r--r-- | files/zh-cn/web/api/windoweventhandlers/onunload/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/api/windoweventhandlers/onunload/index.html b/files/zh-cn/web/api/windoweventhandlers/onunload/index.html index 580592317a..65b13fa59a 100644 --- a/files/zh-cn/web/api/windoweventhandlers/onunload/index.html +++ b/files/zh-cn/web/api/windoweventhandlers/onunload/index.html @@ -8,7 +8,7 @@ original_slug: Web/API/Window/onunload <h3 id="Summary" name="Summary">概述</h3> -<p>{{domxref("WindowEventHandlers")}} 的混入特性 <strong><code>onunload</code></strong> 是 {{event("Event_handlers")}} 处理 {{Event("unload")}} 事件的方法。该事件在关闭窗口资源和内容的时候触发。页面资源的清除工作会在 <code>unload</code> 事件之后进行。</p> +<p>{{domxref("WindowEventHandlers")}} 的混入特性 <strong><code>onunload</code></strong> 是 {{domxref("EventHandler")}} 处理 {{Event("unload")}} 事件的方法。该事件在关闭窗口资源和内容的时候触发。页面资源的清除工作会在 <code>unload</code> 事件之后进行。</p> <div class="blockIndicator note"> <p><strong>注意事项:</strong> 具备弹窗阻止功能的浏览器会忽略 <code>onunload</code> 事件回调中调用的 {{domxref("Window.open()")}} 方法。</p> |