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/windoweventhandlers/onunload | |
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/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 65b13fa59a..580592317a 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> 是 {{domxref("EventHandler")}} 处理 {{Event("unload")}} 事件的方法。该事件在关闭窗口资源和内容的时候触发。页面资源的清除工作会在 <code>unload</code> 事件之后进行。</p> +<p>{{domxref("WindowEventHandlers")}} 的混入特性 <strong><code>onunload</code></strong> 是 {{event("Event_handlers")}} 处理 {{Event("unload")}} 事件的方法。该事件在关闭窗口资源和内容的时候触发。页面资源的清除工作会在 <code>unload</code> 事件之后进行。</p> <div class="blockIndicator note"> <p><strong>注意事项:</strong> 具备弹窗阻止功能的浏览器会忽略 <code>onunload</code> 事件回调中调用的 {{domxref("Window.open()")}} 方法。</p> |