aboutsummaryrefslogtreecommitdiff
path: root/files/it/web/api/selection/extend
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:42:17 -0500
commitda78a9e329e272dedb2400b79a3bdeebff387d47 (patch)
treee6ef8aa7c43556f55ddfe031a01cf0a8fa271bfe /files/it/web/api/selection/extend
parent1109132f09d75da9a28b649c7677bb6ce07c40c0 (diff)
downloadtranslated-content-da78a9e329e272dedb2400b79a3bdeebff387d47.tar.gz
translated-content-da78a9e329e272dedb2400b79a3bdeebff387d47.tar.bz2
translated-content-da78a9e329e272dedb2400b79a3bdeebff387d47.zip
initial commit
Diffstat (limited to 'files/it/web/api/selection/extend')
-rw-r--r--files/it/web/api/selection/extend/index.html39
1 files changed, 39 insertions, 0 deletions
diff --git a/files/it/web/api/selection/extend/index.html b/files/it/web/api/selection/extend/index.html
new file mode 100644
index 0000000000..58e022a2a9
--- /dev/null
+++ b/files/it/web/api/selection/extend/index.html
@@ -0,0 +1,39 @@
+---
+title: extend
+slug: Web/API/Selection/extend
+tags:
+ - DOM
+ - Gecko
+ - Reference_del_DOM_di_Gecko
+ - Tutte_le_categorie
+translation_of: Web/API/Selection/extend
+---
+<p>{{ ApiRef() }}</p>
+<h3 id="Sommario" name="Sommario">Sommario</h3>
+<p>Sposta il focus della selezione ad un punto specificato. L'anchor invece resta immobile. La selezione si estenderà dall'anchor fino al nuovo focus, indipendentemente da quale sia la direzione (cioè potrebbe essere inversa rispetto al testo).</p>
+<h3 id="Sintassi" name="Sintassi">Sintassi</h3>
+<pre class="eval"><i>selezione</i>.extend(<i>nodoPadre</i>,<i>offset</i>)
+</pre>
+<h3 id="Parametri" name="Parametri">Parametri</h3>
+<dl>
+ <dt>
+ <i>
+ <code>nodoPadre</code></i>
+ </dt>
+ <dd>
+ Il nuovo focus, cioè il nodo fino al quale si estenderà la selezione.</dd>
+</dl>
+<dl>
+ <dt>
+ <i>
+ <code>offset</code></i>
+ </dt>
+ <dd>
+ Il numero di caratteri che separeranno l'inizio del testo del
+ <i>
+ <code>nodoPadre</code>'</i>
+ dal nuovo focus.</dd>
+</dl>
+<div class="noinclude">
+  </div>
+<p>{{ languages( { "es": "es/DOM/Selection/extend", "en": "en/DOM/Selection/extend", "pl": "pl/DOM/Selection/extend" } ) }}</p>