From 4704bf920fb5a9e983bfb5b80c5dcac6ca347dc2 Mon Sep 17 00:00:00 2001 From: Florian Merz Date: Thu, 11 Feb 2021 13:12:21 +0100 Subject: unslug zh-tw: modify --- files/zh-tw/web/api/window/domcontentloaded_event/index.html | 3 ++- files/zh-tw/web/api/window/history/index.html | 3 ++- files/zh-tw/web/api/window/load_event/index.html | 3 ++- files/zh-tw/web/api/window/requestanimationframe/index.html | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) (limited to 'files/zh-tw/web/api/window') diff --git a/files/zh-tw/web/api/window/domcontentloaded_event/index.html b/files/zh-tw/web/api/window/domcontentloaded_event/index.html index 0ec78423ec..54d0497519 100644 --- a/files/zh-tw/web/api/window/domcontentloaded_event/index.html +++ b/files/zh-tw/web/api/window/domcontentloaded_event/index.html @@ -1,7 +1,8 @@ --- title: DOMContentLoaded -slug: Web/Events/DOMContentLoaded +slug: Web/API/Window/DOMContentLoaded_event translation_of: Web/API/Window/DOMContentLoaded_event +original_slug: Web/Events/DOMContentLoaded ---

DOMContentLoaded事件是當document被完整的讀取跟解析後就會被觸發,不會等待 stylesheets, 圖片和subframes完成讀取  (load事件可以用來作為判斷頁面已經完整讀取的方法).

diff --git a/files/zh-tw/web/api/window/history/index.html b/files/zh-tw/web/api/window/history/index.html index 67b79c5f82..9925aa1657 100644 --- a/files/zh-tw/web/api/window/history/index.html +++ b/files/zh-tw/web/api/window/history/index.html @@ -1,7 +1,8 @@ --- title: Window.history -slug: Web/API/Window.history +slug: Web/API/Window/history translation_of: Web/API/Window/history +original_slug: Web/API/Window.history ---

{{ APIRef }}

diff --git a/files/zh-tw/web/api/window/load_event/index.html b/files/zh-tw/web/api/window/load_event/index.html index 7c6d314925..23dbc5ba5f 100644 --- a/files/zh-tw/web/api/window/load_event/index.html +++ b/files/zh-tw/web/api/window/load_event/index.html @@ -1,7 +1,8 @@ --- title: load -slug: Web/Events/load +slug: Web/API/Window/load_event translation_of: Web/API/Window/load_event +original_slug: Web/Events/load ---

load 事件發生在加載完目標資源、該資源依賴的其他資源時。

diff --git a/files/zh-tw/web/api/window/requestanimationframe/index.html b/files/zh-tw/web/api/window/requestanimationframe/index.html index 55aa85d292..9d854da936 100644 --- a/files/zh-tw/web/api/window/requestanimationframe/index.html +++ b/files/zh-tw/web/api/window/requestanimationframe/index.html @@ -1,7 +1,8 @@ --- title: Window.requestAnimationFrame() -slug: Web/API/Window.requestAnimationFrame +slug: Web/API/window/requestAnimationFrame translation_of: Web/API/window/requestAnimationFrame +original_slug: Web/API/Window.requestAnimationFrame ---
{{APIRef}}
-- cgit v1.2.3-54-g00ecf