From 1109132f09d75da9a28b649c7677bb6ce07c40c0 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:41:45 -0500 Subject: initial commit --- .../web/api/selection/selectallchildren/index.html | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 files/es/web/api/selection/selectallchildren/index.html (limited to 'files/es/web/api/selection/selectallchildren') diff --git a/files/es/web/api/selection/selectallchildren/index.html b/files/es/web/api/selection/selectallchildren/index.html new file mode 100644 index 0000000000..5f824dc200 --- /dev/null +++ b/files/es/web/api/selection/selectallchildren/index.html @@ -0,0 +1,45 @@ +--- +title: selectAllChildren +slug: Web/API/Selection/selectAllChildren +tags: + - páginas_a_traducir +translation_of: Web/API/Selection/selectAllChildren +--- +

{{ ApiRef("DOM") }}

+ +

Resumen

+ +

Añadirá todos los "hijos" del nodo especificado a la selección. La selección previa se pierde.

+ +

Sintaxis

+ +
sel.selectAllChildren(
+parentNode)
+
+ +

Parámetros

+ +
+
+ parentNode +
+
Todos los "hijos" de + parentNode + serán seleccionados. El mismo + + parentNode + no es parte de la selección.
+
+ +

Ejemplos

+ +
footer = document.getElementById("footer");
+window.getSelection().selectAllChildren(footer);
+/* Todo el contendio del pie de página ahora está seleccionado */
+
+ +

 

+ +
 
+ +

{{ languages( { "en": "en/DOM/Selection/selectAllChildren", "it": "it/DOM/Selection/selectAllChildren", "pl": "pl/DOM/Selection/selectAllChildren" } ) }}

-- cgit v1.2.3-54-g00ecf