aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/window/offline_event/index.html
diff options
context:
space:
mode:
authorjulieng <julien.gattelier@gmail.com>2021-10-02 17:20:14 +0200
committerSphinxKnight <SphinxKnight@users.noreply.github.com>2021-10-02 17:30:20 +0200
commitc05efa8d7ae464235cf83d7c0956e42dc6974103 (patch)
tree6ea911b2f2010f63a026de6bb7a1a51e7690a7e1 /files/fr/web/api/window/offline_event/index.html
parent13a5e017558b248ee1647d4a5825f183b51f09ad (diff)
downloadtranslated-content-c05efa8d7ae464235cf83d7c0956e42dc6974103.tar.gz
translated-content-c05efa8d7ae464235cf83d7c0956e42dc6974103.tar.bz2
translated-content-c05efa8d7ae464235cf83d7c0956e42dc6974103.zip
move *.html to *.md
Diffstat (limited to 'files/fr/web/api/window/offline_event/index.html')
-rw-r--r--files/fr/web/api/window/offline_event/index.html73
1 files changed, 0 insertions, 73 deletions
diff --git a/files/fr/web/api/window/offline_event/index.html b/files/fr/web/api/window/offline_event/index.html
deleted file mode 100644
index fa7752a90c..0000000000
--- a/files/fr/web/api/window/offline_event/index.html
+++ /dev/null
@@ -1,73 +0,0 @@
----
-title: 'Window: Evenement offline'
-slug: Web/API/Window/offline_event
-tags:
- - API
- - Event
- - Offline
- - Reference
- - Window
-translation_of: Web/API/Window/offline_event
----
-<p>{{APIRef}}</p>
-
-<p>L'événement <strong><code>offline</code></strong> de l'interface {{domxref("Window")}} se déclenche lorsque le navigateur perd la connexion au réseau et la valeur de  {{domxref("Navigator.onLine")}} bascule à <code>false</code>.</p>
-
-<table class="properties">
- <tbody>
- <tr>
- <th scope="row">Bulles</th>
- <td>Non</td>
- </tr>
- <tr>
- <th scope="row">Annulable</th>
- <td>Non</td>
- </tr>
- <tr>
- <th scope="row">Interface</th>
- <td>{{domxref("Event")}}</td>
- </tr>
- <tr>
- <th scope="row">Propriété de gestionnaire d'événements</th>
- <td>{{domxref("GlobalEventHandlers.onoffline", "onoffline")}}</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Exemples">Exemples</h2>
-
-<pre class="brush: js">//version addEventListener
-window.addEventListener('offline', (event) =&gt; {
- console.log("La Connexion au réseau est perdu.");
-});
-
-// onoffline version
-window.onoffline = (event) =&gt; {
- console.log("La Connexion au réseau a été perdue.");
-};
-</pre>
-
-<h2 id="Spécifications">Spécifications</h2>
-
-<table class="standard-table">
- <tbody>
- <tr>
- <th scope="col">Spécification</th>
- <th scope="col">Statut</th>
- </tr>
- <tr>
- <td>{{SpecName('HTML WHATWG', "indices.html#event-offline", "offline event")}}</td>
- <td>{{Spec2('HTML WHATWG')}}</td>
- </tr>
- </tbody>
-</table>
-
-<h2 id="Compatibilité_des_Navigateurs">Compatibilité des Navigateurs</h2>
-
-<p>{{Compat("api.Window.offline_event")}}</p>
-
-<h2 id="Voir_également">Voir également</h2>
-
-<ul>
- <li><a href="/en-US/docs/Web/API/Window/online_event"><code>online</code></a></li>
-</ul>