aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/window/home/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/fr/web/api/window/home/index.html')
-rw-r--r--files/fr/web/api/window/home/index.html38
1 files changed, 38 insertions, 0 deletions
diff --git a/files/fr/web/api/window/home/index.html b/files/fr/web/api/window/home/index.html
new file mode 100644
index 0000000000..45d11a4ad5
--- /dev/null
+++ b/files/fr/web/api/window/home/index.html
@@ -0,0 +1,38 @@
+---
+title: Window.home()
+slug: Web/API/Window/home
+tags:
+ - API
+ - Gecko
+ - HTML DOM
+ - Méthode
+ - Obsolete
+ - Reference
+ - Window
+translation_of: Web/API/Window/home
+---
+<div>{{APIRef}}{{ Non-standard_header() }} {{ obsolete_header(31) }}</div>
+
+<p>La méthode <code><strong>Window.home()</strong></code> renvoie la fenêtre à la page d'accueil.</p>
+
+<h2 id="Syntaxe">Syntaxe</h2>
+
+<pre class="syntaxbox notranslate"><em>window</em>.home();
+</pre>
+
+<h2 id="Exemple">Exemple</h2>
+
+<pre class="brush: js notranslate">function goHome() {
+ window.home();
+}
+</pre>
+
+<h2 id="Spécification">Spécification</h2>
+
+<p>DOM Niveau 0. Ne fait pas partie de la spécification.</p>
+
+<h2 id="Compatibilité_des_navigateurs">Compatibilité des navigateurs</h2>
+
+<div class="hidden">Le tableau de compatibilité de cette page est généré à partir de données structurées. Si vous souhaitez contribuer aux données, veuillez consulter <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> et envoyez-nous une pull request.</div>
+
+<p>{{Compat("api.Window.home")}}</p>