diff options
Diffstat (limited to 'files/it/web/api/range/setendbefore/index.html')
-rw-r--r-- | files/it/web/api/range/setendbefore/index.html | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/files/it/web/api/range/setendbefore/index.html b/files/it/web/api/range/setendbefore/index.html deleted file mode 100644 index 69b3f0e961..0000000000 --- a/files/it/web/api/range/setendbefore/index.html +++ /dev/null @@ -1,35 +0,0 @@ ---- -title: range.setEndBefore -slug: Web/API/Range/setEndBefore -translation_of: Web/API/Range/setEndBefore ---- -<p>{{ APIRef("DOM") }}</p> - -<p>Imposta la posizione finale di un <code>Range</code> relativamente a un altro <code>Node</code>.</p> - -<h3 id="Sintassi" name="Sintassi">Sintassi</h3> - -<pre class="eval">range.setEndBefore(referenceNode); -</pre> - -<h3 id="Parametri" name="Parametri">Parametri</h3> - -<dl> - <dt>referenceNode </dt> - <dd>Il <code>Node</code> prima del quale deve terminare il <code>Range</code></dd> -</dl> - -<h3 id="Esempio" name="Esempio">Esempio</h3> - -<pre class="eval">range = document.createRange(); -referenceNode = document.getElementsByTagName("div").item(0); -range.setEndBefore(referenceNode); -</pre> - -<h3 id="Note" name="Note">Note</h3> - -<p>Il <code>Node</code> padre della fine del <code>Range</code> sarà lo stesso di <code>referenceNode</code>.</p> - -<h3 id="Specification" name="Specification">Specification</h3> - -<p><a class="external" href="http://www.w3.org/TR/2000/REC-DOM-Level-2-Traversal-Range-20001113/ranges.html#Level2-Range-setEndBefore">setEndBefore</a></p> |