L'interface NavigatorOnLine
contient les méthodes et les propriétés concernant l'état de connexion du navigateur.
Il n'y a pas d'objet de type NavigatorOnLine
, mais d'autres interfaces l'implémentent comme Navigator
ou WorkerNavigator
.
Propriétés
L'interface NavigatorOnLine
n'hérite d'aucune propriété.
NavigatorOnLine.onLine
Lecture seule- Retourne un
Boolean
indicant si le navigateur est connecté.
Méthodes
The NavigatorOnLine
interface neither implements, nor inherit any method.
Spécifications
Spécifications | Status | Commentaire |
---|---|---|
HTML Living Standard La définition de 'NavigatorOnLine' dans cette spécification. |
Standard évolutif | Pas de changement depuis la dernière version, HTML5 |
HTML5 La définition de 'NavigatorOnLine' dans cette spécification. |
Recommendation | Version apportant la définition initiale: HTML Living Standard |
Compatibilité des naviagteurs
BCD tables only load in the browser
Voir aussi
- L'interface
Navigator
qui l'implémente; - Les évènements online et offline.