aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/window
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/window')
-rw-r--r--files/zh-cn/web/api/window/afterprint_event/index.html3
-rw-r--r--files/zh-cn/web/api/window/beforeprint_event/index.html3
-rw-r--r--files/zh-cn/web/api/window/beforeunload_event/index.html3
-rw-r--r--files/zh-cn/web/api/window/blur/index.html3
-rw-r--r--files/zh-cn/web/api/window/domcontentloaded_event/index.html3
-rw-r--r--files/zh-cn/web/api/window/load_event/index.html3
-rw-r--r--files/zh-cn/web/api/window/pageshow_event/index.html3
-rw-r--r--files/zh-cn/web/api/window/unhandledrejection_event/index.html3
-rw-r--r--files/zh-cn/web/api/window/unload_event/index.html3
9 files changed, 18 insertions, 9 deletions
diff --git a/files/zh-cn/web/api/window/afterprint_event/index.html b/files/zh-cn/web/api/window/afterprint_event/index.html
index 3ee72441cd..cdbd2aec80 100644
--- a/files/zh-cn/web/api/window/afterprint_event/index.html
+++ b/files/zh-cn/web/api/window/afterprint_event/index.html
@@ -1,7 +1,8 @@
---
title: afterprint
-slug: Web/Events/afterprint
+slug: Web/API/Window/afterprint_event
translation_of: Web/API/Window/afterprint_event
+original_slug: Web/Events/afterprint
---
<p>在相关联的文档已开始打印或打印预览已关闭之后, 触发 <code>afterprint</code>事件。</p>
diff --git a/files/zh-cn/web/api/window/beforeprint_event/index.html b/files/zh-cn/web/api/window/beforeprint_event/index.html
index fe9480238a..4846c902c9 100644
--- a/files/zh-cn/web/api/window/beforeprint_event/index.html
+++ b/files/zh-cn/web/api/window/beforeprint_event/index.html
@@ -1,7 +1,8 @@
---
title: beforeprint
-slug: Web/Events/beforeprint
+slug: Web/API/Window/beforeprint_event
translation_of: Web/API/Window/beforeprint_event
+original_slug: Web/Events/beforeprint
---
<p>当相关联的文档即将打印或预览以进行打印时,将触发beforeprint事件。</p>
diff --git a/files/zh-cn/web/api/window/beforeunload_event/index.html b/files/zh-cn/web/api/window/beforeunload_event/index.html
index 9cef2f2cfc..bd200d41ce 100644
--- a/files/zh-cn/web/api/window/beforeunload_event/index.html
+++ b/files/zh-cn/web/api/window/beforeunload_event/index.html
@@ -1,6 +1,6 @@
---
title: 'Window: beforeunload event'
-slug: Web/Events/beforeunload
+slug: Web/API/Window/beforeunload_event
tags:
- Event
- Window
@@ -8,6 +8,7 @@ tags:
- 事件
- 参考
translation_of: Web/API/Window/beforeunload_event
+original_slug: Web/Events/beforeunload
---
<p><span style="font-family: consolas,monaco,andale mono,monospace;">当浏览器窗口关闭或者刷新时,会触发beforeunload事件。当前页面不会直接关闭,可以点击确定按钮关闭或刷新,也可以取消关闭或刷新。</span></p>
diff --git a/files/zh-cn/web/api/window/blur/index.html b/files/zh-cn/web/api/window/blur/index.html
index 0aebdbb367..fa3a0742cb 100644
--- a/files/zh-cn/web/api/window/blur/index.html
+++ b/files/zh-cn/web/api/window/blur/index.html
@@ -1,7 +1,8 @@
---
title: Window.blur()
-slug: Web/API/Window/Window.blur()
+slug: Web/API/Window/blur
translation_of: Web/API/Window/blur
+original_slug: Web/API/Window/Window.blur()
---
<p>{{APIRef}}</p>
diff --git a/files/zh-cn/web/api/window/domcontentloaded_event/index.html b/files/zh-cn/web/api/window/domcontentloaded_event/index.html
index 67c6a44253..8452eeb2e6 100644
--- a/files/zh-cn/web/api/window/domcontentloaded_event/index.html
+++ b/files/zh-cn/web/api/window/domcontentloaded_event/index.html
@@ -1,12 +1,13 @@
---
title: DOMContentLoaded
-slug: Web/Events/DOMContentLoaded
+slug: Web/API/Window/DOMContentLoaded_event
tags:
- DOMContentLoaded
- Window.open()
- load
- window.onload
translation_of: Web/API/Window/DOMContentLoaded_event
+original_slug: Web/Events/DOMContentLoaded
---
<p>当初始的 <strong>HTML </strong>文档被完全加载和解析完成之后,<strong><code>DOMContentLoaded</code> </strong>事件被触发,而无需等待样式表、图像和子框架的完全加载。</p>
diff --git a/files/zh-cn/web/api/window/load_event/index.html b/files/zh-cn/web/api/window/load_event/index.html
index 5cfb7b075f..7f784a47f1 100644
--- a/files/zh-cn/web/api/window/load_event/index.html
+++ b/files/zh-cn/web/api/window/load_event/index.html
@@ -1,9 +1,10 @@
---
title: load
-slug: Web/Events/load
+slug: Web/API/Window/load_event
tags:
- load
translation_of: Web/API/Window/load_event
+original_slug: Web/Events/load
---
<p>{{APIRef}}</p>
diff --git a/files/zh-cn/web/api/window/pageshow_event/index.html b/files/zh-cn/web/api/window/pageshow_event/index.html
index d0aec41716..482e1b567e 100644
--- a/files/zh-cn/web/api/window/pageshow_event/index.html
+++ b/files/zh-cn/web/api/window/pageshow_event/index.html
@@ -1,7 +1,8 @@
---
title: pageshow
-slug: Web/Events/pageshow
+slug: Web/API/Window/pageshow_event
translation_of: Web/API/Window/pageshow_event
+original_slug: Web/Events/pageshow
---
<p>当一条会话历史记录被执行的时候将会触发页面显示(pageshow)事件。(这包括了后退/前进按钮操作,同时也会在onload 事件触发后初始化页面时触发)</p>
diff --git a/files/zh-cn/web/api/window/unhandledrejection_event/index.html b/files/zh-cn/web/api/window/unhandledrejection_event/index.html
index 9c3286aa44..8628a3e11f 100644
--- a/files/zh-cn/web/api/window/unhandledrejection_event/index.html
+++ b/files/zh-cn/web/api/window/unhandledrejection_event/index.html
@@ -1,6 +1,6 @@
---
title: unhandledrejection
-slug: Web/Events/unhandledrejection
+slug: Web/API/Window/unhandledrejection_event
tags:
- API
- JavaScript
@@ -9,6 +9,7 @@ tags:
- 事件
- 参考
translation_of: Web/API/Window/unhandledrejection_event
+original_slug: Web/Events/unhandledrejection
---
<div>{{APIRef("HTML DOM")}}</div>
diff --git a/files/zh-cn/web/api/window/unload_event/index.html b/files/zh-cn/web/api/window/unload_event/index.html
index 2510b1f651..dc03afe51f 100644
--- a/files/zh-cn/web/api/window/unload_event/index.html
+++ b/files/zh-cn/web/api/window/unload_event/index.html
@@ -1,11 +1,12 @@
---
title: unload
-slug: Web/Events/unload
+slug: Web/API/Window/unload_event
tags:
- Window
- events
- unload
translation_of: Web/API/Window/unload_event
+original_slug: Web/Events/unload
---
<p>{{APIRef}}</p>