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/es/web/api/windoweventhandlers/index.html | 28 +++++++++++----------- .../api/windoweventhandlers/onpopstate/index.html | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) (limited to 'files/es/web/api/windoweventhandlers') diff --git a/files/es/web/api/windoweventhandlers/index.html b/files/es/web/api/windoweventhandlers/index.html index db77a52e38..9a1ab057e9 100644 --- a/files/es/web/api/windoweventhandlers/index.html +++ b/files/es/web/api/windoweventhandlers/index.html @@ -17,33 +17,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/es/web/api/windoweventhandlers/onpopstate/index.html b/files/es/web/api/windoweventhandlers/onpopstate/index.html index f9fc018779..5ee8539dbd 100644 --- a/files/es/web/api/windoweventhandlers/onpopstate/index.html +++ b/files/es/web/api/windoweventhandlers/onpopstate/index.html @@ -5,7 +5,7 @@ translation_of: Web/API/WindowEventHandlers/onpopstate ---
{{APIRef}}
-

La propiedad onpopstate del mixin {{domxref("WindowEventHandlers")}} es el {{event("Event_handlers")}} para procesar eventos popstate de la ventana.

+

La propiedad onpopstate del mixin {{domxref("WindowEventHandlers")}} es el {{domxref("EventHandler")}} para procesar eventos popstate de la ventana.

Se evnía un evento popstate a la ventana cada vez que la entrada activa de la historia cambia entre otra otras dos entradas del mismo documento. Si la entrada de la historia fue creada al llamar a history.pushState(), o fue afectada por una llamada a history.replaceState(), la propiedad state del evento popstate contendrá una copia del objeto de estado de la entrada de la hisotria.

-- cgit v1.2.3-54-g00ecf