From ba8d3f6f9d418e3b7fdfe79ccfb6e7a6ffb7f566 Mon Sep 17 00:00:00 2001 From: MDN Date: Sat, 12 Mar 2022 00:12:34 +0000 Subject: [CRON] sync translated content --- files/es/web/api/eventsource/onopen/index.html | 52 --------------------- files/es/web/api/eventsource/open_event/index.html | 53 ++++++++++++++++++++++ files/es/web/html/index/index.html | 9 ---- files/es/web/svg/index/index.html | 6 --- 4 files changed, 53 insertions(+), 67 deletions(-) delete mode 100644 files/es/web/api/eventsource/onopen/index.html create mode 100644 files/es/web/api/eventsource/open_event/index.html delete mode 100644 files/es/web/html/index/index.html delete mode 100644 files/es/web/svg/index/index.html (limited to 'files/es/web') diff --git a/files/es/web/api/eventsource/onopen/index.html b/files/es/web/api/eventsource/onopen/index.html deleted file mode 100644 index 59ee6537dd..0000000000 --- a/files/es/web/api/eventsource/onopen/index.html +++ /dev/null @@ -1,52 +0,0 @@ ---- -title: EventSource.onopen -slug: Web/API/EventSource/onopen -translation_of: Web/API/EventSource/onopen ---- -
{{APIRef('WebSockets API')}}
- -

La propiedad onopen de la interfaz  {{domxref("EventSource")}}  es un {{event("Event_handlers", "event handler")}} llamado cuando un evento  {{event("open")}} es recibido, esto pasa cuando la conexión fue solo abierta.

- -

Syntax

- -
eventSource.onopen = function
- -

Ejemplos

- -
evtSource.onopen = function() {
-  console.log("Connection to server opened.");
-};
- -
-

Nota: Tu puedes encontrar un ejemplo completo en GitHub — ve Simple SSE demo using PHP.

-
- -

Especificaciones

- - - - - - - - - - - - - - -
EspecificaciónEstadoComentario
{{SpecName('HTML WHATWG', "comms.html#handler-eventsource-onopen", "onopen")}}{{Spec2('HTML WHATWG')}}Initial definition
- - - -

Compatibilidad con navegadores

- -{{Compat("api.EventSource.onopen")}} - -

Mira también

- - diff --git a/files/es/web/api/eventsource/open_event/index.html b/files/es/web/api/eventsource/open_event/index.html new file mode 100644 index 0000000000..ea7b4d5d98 --- /dev/null +++ b/files/es/web/api/eventsource/open_event/index.html @@ -0,0 +1,53 @@ +--- +title: EventSource.onopen +slug: Web/API/EventSource/open_event +translation_of: Web/API/EventSource/onopen +original_slug: Web/API/EventSource/onopen +--- +
{{APIRef('WebSockets API')}}
+ +

La propiedad onopen de la interfaz  {{domxref("EventSource")}}  es un {{event("Event_handlers", "event handler")}} llamado cuando un evento  {{event("open")}} es recibido, esto pasa cuando la conexión fue solo abierta.

+ +

Syntax

+ +
eventSource.onopen = function
+ +

Ejemplos

+ +
evtSource.onopen = function() {
+  console.log("Connection to server opened.");
+};
+ +
+

Nota: Tu puedes encontrar un ejemplo completo en GitHub — ve Simple SSE demo using PHP.

+
+ +

Especificaciones

+ + + + + + + + + + + + + + +
EspecificaciónEstadoComentario
{{SpecName('HTML WHATWG', "comms.html#handler-eventsource-onopen", "onopen")}}{{Spec2('HTML WHATWG')}}Initial definition
+ + + +

Compatibilidad con navegadores

+ +{{Compat("api.EventSource.onopen")}} + +

Mira también

+ + diff --git a/files/es/web/html/index/index.html b/files/es/web/html/index/index.html deleted file mode 100644 index 388b7b4d96..0000000000 --- a/files/es/web/html/index/index.html +++ /dev/null @@ -1,9 +0,0 @@ ---- -title: Índice de la documentación HTML -slug: Web/HTML/Index -tags: - - HTML -translation_of: Web/HTML/Index -original_slug: Web/HTML/Índice ---- -

{{Index("/es/docs/Web/HTML")}}

diff --git a/files/es/web/svg/index/index.html b/files/es/web/svg/index/index.html deleted file mode 100644 index a9cf2d3736..0000000000 --- a/files/es/web/svg/index/index.html +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: SVG documentation index -slug: Web/SVG/Index -translation_of: Web/SVG/Index ---- -

{{Index("/en-US/docs/Web/SVG")}}

-- cgit v1.2.3-54-g00ecf