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

{{ ApiRef("DOM") }}

+ +

Resumen

+ +

Traslada el foco de la selección a un punto especificado. El ancla de la selección no se mueve. La selección será desde el ancla hasta el nuevo focus regardless of direction.

+ +

Sintaxis

+ +
sel.extend(
+parentNode,
+offset)
+
+ +

Parámetros

+ +
+
+ parentNode +
+
El nodo dentro del cual el foco será movido.
+
+ +
+
+ offset +
+
El número de caracteres que habrá desde el principio del texto + parentNode + hasta donde el foco se colocará.
+
+ +
 
+ +

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

-- cgit v1.2.3-54-g00ecf