From 220a7d23b0755acc06146c1262aa09ba22d6e3b1 Mon Sep 17 00:00:00 2001 From: Ryan Johnson Date: Fri, 28 May 2021 12:05:52 -0700 Subject: Revert "replace some domxref macro calls with event macro calls (#1016)" (#1017) This reverts commit 2958ec7e85c9a1182cd81728e3705948a2c39d71. --- files/ru/web/api/windoweventhandlers/index.html | 28 +++++++++++----------- .../windoweventhandlers/onafterprint/index.html | 2 +- .../api/windoweventhandlers/onpopstate/index.html | 2 +- 3 files changed, 16 insertions(+), 16 deletions(-) (limited to 'files/ru/web/api/windoweventhandlers') diff --git a/files/ru/web/api/windoweventhandlers/index.html b/files/ru/web/api/windoweventhandlers/index.html index ff547eb947..b5892aaa1f 100644 --- a/files/ru/web/api/windoweventhandlers/index.html +++ b/files/ru/web/api/windoweventhandlers/index.html @@ -22,33 +22,33 @@ translation_of: Web/API/WindowEventHandlers
{{domxref("WindowEventHandlers.onafterprint")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("afterprint")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("afterprint")}} event is raised.
{{domxref("WindowEventHandlers.onbeforeprint")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("beforeprint")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("beforeprint")}} event is raised.
{{domxref("WindowEventHandlers.onbeforeunload")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("beforeunload")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("beforeunload")}} event is raised.
{{domxref("WindowEventHandlers.onhashchange")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("hashchange")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("hashchange")}} event is raised.
{{domxref("WindowEventHandlers.onlanguagechange")}} {{experimental_inline}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("languagechange")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("languagechange")}} event is raised.
{{domxref("WindowEventHandlers.onmessage")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("message")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("message")}} event is raised.
{{domxref("WindowEventHandlers.onoffline")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("offline")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("offline")}} event is raised.
{{domxref("WindowEventHandlers.ononline")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("online")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("online")}} event is raised.
{{domxref("WindowEventHandlers.onpagehide")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pagehide")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pagehide")}} event is raised.
{{domxref("WindowEventHandlers.onpageshow")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("pageshow")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("pageshow")}} event is raised.
{{domxref("WindowEventHandlers.onpopstate")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("popstate")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("popstate")}} event is raised.
{{domxref("WindowEventHandlers.onresize")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("resize")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("resize")}} event is raised.
{{domxref("WindowEventHandlers.onstorage")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("storage")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("storage")}} event is raised.
{{domxref("WindowEventHandlers.onunload")}}
-
Is an {{event("Event_handlers")}} representing the code to be called when the {{event("unload")}} event is raised.
+
Is an {{domxref("EventHandler")}} representing the code to be called when the {{event("unload")}} event is raised.

Methods

diff --git a/files/ru/web/api/windoweventhandlers/onafterprint/index.html b/files/ru/web/api/windoweventhandlers/onafterprint/index.html index 5918d9b92f..9ce9505b29 100644 --- a/files/ru/web/api/windoweventhandlers/onafterprint/index.html +++ b/files/ru/web/api/windoweventhandlers/onafterprint/index.html @@ -5,7 +5,7 @@ translation_of: Web/API/WindowEventHandlers/onafterprint ---
{{ApiRef}}
-

Свойство WindowEventHandlers.onafterprint устанавливает и возвращает обработчик {{event("Event_handlers")}} события {{event("afterprint")}} в текущем окне.

+

Свойство WindowEventHandlers.onafterprint устанавливает и возвращает обработчик {{domxref("EventHandler")}} события {{event("afterprint")}} в текущем окне.

Синтаксис

diff --git a/files/ru/web/api/windoweventhandlers/onpopstate/index.html b/files/ru/web/api/windoweventhandlers/onpopstate/index.html index cf769467dd..e51aa9b186 100644 --- a/files/ru/web/api/windoweventhandlers/onpopstate/index.html +++ b/files/ru/web/api/windoweventhandlers/onpopstate/index.html @@ -5,7 +5,7 @@ translation_of: Web/API/WindowEventHandlers/onpopstate ---
{{APIRef}}
-

Свойство onpopstate миксина {{domxref("WindowEventHandlers")}} является {{event("Event_handlers")}} для обработки событий popstate для "window".

+

Свойство onpopstate миксина {{domxref("WindowEventHandlers")}} является {{domxref("EventHandler")}} для обработки событий popstate для "window".

Событие popstate отсылается объекту window каждый раз, когда активная запись истории меняется с одной на другую для одного и того же документа. Если запись истории, ставшая активной, была создана вызовом history.pushState() или изменена с помощью history.replaceState(), свойство state события popstate содержит копию объекта состояния этой записи истории.

-- cgit v1.2.3-54-g00ecf