From fdc77da2ba02ff78b23fc129ec7ee20c0fa28afb Mon Sep 17 00:00:00 2001 From: MDN Date: Thu, 9 Sep 2021 00:49:39 +0000 Subject: [CRON] sync translated content --- files/es/_redirects.txt | 3 +- files/es/_wikihistory.json | 16 +++---- files/es/web/api/keyboardevent/which/index.html | 62 ------------------------ files/es/web/api/uievent/which/index.html | 63 +++++++++++++++++++++++++ 4 files changed, 73 insertions(+), 71 deletions(-) delete mode 100644 files/es/web/api/keyboardevent/which/index.html create mode 100644 files/es/web/api/uievent/which/index.html (limited to 'files/es') diff --git a/files/es/_redirects.txt b/files/es/_redirects.txt index a9ca29c7e8..f6c93836da 100644 --- a/files/es/_redirects.txt +++ b/files/es/_redirects.txt @@ -1546,6 +1546,7 @@ /es/docs/Web/API/HTMLOrForeignElement/focus /es/docs/orphaned/Web/API/HTMLOrForeignElement/focus /es/docs/Web/API/IDBObjectStore.add /es/docs/Web/API/IDBObjectStore/add /es/docs/Web/API/IndexedDB_API/Usando_IndexedDB /es/docs/Web/API/IndexedDB_API/Using_IndexedDB +/es/docs/Web/API/KeyboardEvent/which /es/docs/Web/API/UIEvent/which /es/docs/Web/API/Navigator.getUserMedia /es/docs/Web/API/Navigator/getUserMedia /es/docs/Web/API/NavigatorConcurrentHardware /es/docs/orphaned/Web/API/NavigatorConcurrentHardware /es/docs/Web/API/NavigatorConcurrentHardware/hardwareConcurrency /es/docs/orphaned/Web/API/NavigatorConcurrentHardware/hardwareConcurrency @@ -1596,7 +1597,7 @@ /es/docs/Web/API/WindowTimers/setTimeout /es/docs/Web/API/setTimeout /es/docs/Web/API/XMLHttpRequest/FormData /es/docs/Web/API/FormData /es/docs/Web/API/event.defaultPrevented /es/docs/Web/API/Event/defaultPrevented -/es/docs/Web/API/event.which /es/docs/Web/API/KeyboardEvent/which +/es/docs/Web/API/event.which /es/docs/Web/API/UIEvent/which /es/docs/Web/Accesibilidad /es/docs/Web/Accessibility /es/docs/Web/Accesibilidad/Comunidad /es/docs/Web/Accessibility/Community /es/docs/Web/Accesibilidad/Understanding_WCAG /es/docs/Web/Accessibility/Understanding_WCAG diff --git a/files/es/_wikihistory.json b/files/es/_wikihistory.json index fd2d790297..070b6132b6 100644 --- a/files/es/_wikihistory.json +++ b/files/es/_wikihistory.json @@ -7446,14 +7446,6 @@ "empirreamm" ] }, - "Web/API/KeyboardEvent/which": { - "modified": "2019-03-23T23:25:30.040Z", - "contributors": [ - "fscholz", - "jsx", - "arthusu" - ] - }, "Web/API/Location": { "modified": "2020-03-11T08:46:40.807Z", "contributors": [ @@ -8440,6 +8432,14 @@ "fscholz" ] }, + "Web/API/UIEvent/which": { + "modified": "2019-03-23T23:25:30.040Z", + "contributors": [ + "fscholz", + "jsx", + "arthusu" + ] + }, "Web/API/URL": { "modified": "2019-03-23T22:19:12.735Z", "contributors": [ diff --git a/files/es/web/api/keyboardevent/which/index.html b/files/es/web/api/keyboardevent/which/index.html deleted file mode 100644 index 11e1e3e48e..0000000000 --- a/files/es/web/api/keyboardevent/which/index.html +++ /dev/null @@ -1,62 +0,0 @@ ---- -title: event.which -slug: Web/API/KeyboardEvent/which -tags: - - DOM - - events - - metodo - - which -translation_of: Web/API/KeyboardEvent/which ---- -

{{ ApiRef() }}

-

Resumen

-

Devuelve el keyCode de la tecla presionada, o el codigo del caracter (charCode) de la tecla alfanumerica presionada.

-

Sintaxis

-
var keyResult = event.which;
-
-

keyResult contiene el codigo numerico para una tecla en particular, dependiendo si la tecla presionada es alfanumerica o no-alfanumerica. Por favor mire charCode y keyCode para mas informacion.

-

Ejemplo

-
<html>
-<head>
-<title>charCode/keyCode/which example</title>
-
-<script type="text/javascript">
-
-function showKeyPress(evt)
-{
-alert("onkeypress handler: \n"
-      + "keyCode property: " + evt.keyCode + "\n"
-      + "which property: " + evt.which + "\n"
-      + "charCode property: " + evt.charCode + "\n"
-      + "Character Key Pressed: "
-      + String.fromCharCode(evt.charCode) + "\n"
-     );
-}
-
-
-function keyDown(evt)
-{
-alert("onkeydown handler: \n"
-      + "keyCode property: " + evt.keyCode + "\n"
-      + "which property: " + evt.which + "\n"
-     );
-}
-
-
-</script>
-</head>
-
-<body
- onkeypress="showKeyPress(event);"
- onkeydown="keyDown(event);"
->
-
-<p>Por favor presione cualquier tecla.</p>
-
-</body>
-</html>
-
-
- Nota: El codigo de arriba falla en Firefox 9 debido al bug 696020.
-

Especificacion

-

No es parte de ninguna especificacion.

diff --git a/files/es/web/api/uievent/which/index.html b/files/es/web/api/uievent/which/index.html new file mode 100644 index 0000000000..e86c4363e1 --- /dev/null +++ b/files/es/web/api/uievent/which/index.html @@ -0,0 +1,63 @@ +--- +title: event.which +slug: Web/API/UIEvent/which +tags: + - DOM + - events + - metodo + - which +translation_of: Web/API/KeyboardEvent/which +original_slug: Web/API/KeyboardEvent/which +--- +

{{ ApiRef() }}

+

Resumen

+

Devuelve el keyCode de la tecla presionada, o el codigo del caracter (charCode) de la tecla alfanumerica presionada.

+

Sintaxis

+
var keyResult = event.which;
+
+

keyResult contiene el codigo numerico para una tecla en particular, dependiendo si la tecla presionada es alfanumerica o no-alfanumerica. Por favor mire charCode y keyCode para mas informacion.

+

Ejemplo

+
<html>
+<head>
+<title>charCode/keyCode/which example</title>
+
+<script type="text/javascript">
+
+function showKeyPress(evt)
+{
+alert("onkeypress handler: \n"
+      + "keyCode property: " + evt.keyCode + "\n"
+      + "which property: " + evt.which + "\n"
+      + "charCode property: " + evt.charCode + "\n"
+      + "Character Key Pressed: "
+      + String.fromCharCode(evt.charCode) + "\n"
+     );
+}
+
+
+function keyDown(evt)
+{
+alert("onkeydown handler: \n"
+      + "keyCode property: " + evt.keyCode + "\n"
+      + "which property: " + evt.which + "\n"
+     );
+}
+
+
+</script>
+</head>
+
+<body
+ onkeypress="showKeyPress(event);"
+ onkeydown="keyDown(event);"
+>
+
+<p>Por favor presione cualquier tecla.</p>
+
+</body>
+</html>
+
+
+ Nota: El codigo de arriba falla en Firefox 9 debido al bug 696020.
+

Especificacion

+

No es parte de ninguna especificacion.

-- cgit v1.2.3-54-g00ecf