diff options
Diffstat (limited to 'files/it/web/api/selection/tostring/index.html')
| -rw-r--r-- | files/it/web/api/selection/tostring/index.html | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/files/it/web/api/selection/tostring/index.html b/files/it/web/api/selection/tostring/index.html deleted file mode 100644 index 17a6be112b..0000000000 --- a/files/it/web/api/selection/tostring/index.html +++ /dev/null @@ -1,27 +0,0 @@ ---- -title: toString -slug: Web/API/Selection/toString -tags: - - DOM - - Gecko - - Reference_del_DOM_di_Gecko - - Tutte_le_categorie -translation_of: Web/API/Selection/toString ---- -<p>{{ ApiRef() }}</p> -<h3 id="Sommario" name="Sommario">Sommario</h3> -<p>Restituisce una stringa che rappresenta l'oggetto <code>selection</code>. Generalmente è il testo selezionato.</p> -<h3 id="Sintassi" name="Sintassi">Sintassi</h3> -<pre class="eval"><i>stringa</i> =<i>selezione</i>.toString() -</pre> -<ul> - <li><code>string</code> è una stringa che rappresenta l'oggetto <code>selection</code>.</li> -</ul> -<h3 id="Note" name="Note">Note</h3> -<p>In <a href="it/JavaScript">JavaScript</a>, questo metodo viene chiamato implicitamente quando un oggetto <code>selection</code> viene passato a un metodo o a una funzione che richiede una stringa:</p> -<pre class="eval">alert(window.getSelection()) // la chiamata scritta da noi -alert(window.getSelection().toString()) // la chiamata effettiva -</pre> -<div class="noinclude"> - </div> -<p>{{ languages( { "en": "en/DOM/Selection/toString", "es": "es/DOM/Selection/toString", "pl": "pl/DOM/Selection/toString" } ) }}</p> |
