aboutsummaryrefslogtreecommitdiff
path: root/files/it/web/api/selection/extend/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/it/web/api/selection/extend/index.html')
-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>