diff options
| author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:42:17 -0500 |
|---|---|---|
| committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:42:17 -0500 |
| commit | da78a9e329e272dedb2400b79a3bdeebff387d47 (patch) | |
| tree | e6ef8aa7c43556f55ddfe031a01cf0a8fa271bfe /files/it/web/api/window/focus | |
| parent | 1109132f09d75da9a28b649c7677bb6ce07c40c0 (diff) | |
| download | translated-content-da78a9e329e272dedb2400b79a3bdeebff387d47.tar.gz translated-content-da78a9e329e272dedb2400b79a3bdeebff387d47.tar.bz2 translated-content-da78a9e329e272dedb2400b79a3bdeebff387d47.zip | |
initial commit
Diffstat (limited to 'files/it/web/api/window/focus')
| -rw-r--r-- | files/it/web/api/window/focus/index.html | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/files/it/web/api/window/focus/index.html b/files/it/web/api/window/focus/index.html new file mode 100644 index 0000000000..696383a27c --- /dev/null +++ b/files/it/web/api/window/focus/index.html @@ -0,0 +1,26 @@ +--- +title: Window.focus() +slug: Web/API/Window/focus +translation_of: Web/API/Window/focus +--- +<div>{{APIRef}}</div> + +<p>Seleziona la finestra, come se l'utente avesse cliccato su di essa.</p> + +<h2 id="Sintassi" name="Sintassi">Sintassi</h2> + +<pre class="eval">window.focus() +</pre> + +<h2 id="Esempio" name="Esempio">Esempio</h2> + +<pre class="eval">if (click) { window.focus(); } +</pre> + +<h2 id="Note" name="Note">Note</h2> + +<p>Non ha effetto se la finestra è già selezionata. Si veda anche <a href="it/DOM/window.blur">window.blur</a>.</p> + +<h2 id="Specifiche" name="Specifiche">Specifiche</h2> + +<p>DOM Level 0. Non è parte di alcuno standard.</p> |
