From c05efa8d7ae464235cf83d7c0956e42dc6974103 Mon Sep 17 00:00:00 2001 From: julieng Date: Sat, 2 Oct 2021 17:20:14 +0200 Subject: move *.html to *.md --- .../fr/web/api/geolocationpositionerror/index.html | 80 ---------------------- files/fr/web/api/geolocationpositionerror/index.md | 80 ++++++++++++++++++++++ 2 files changed, 80 insertions(+), 80 deletions(-) delete mode 100644 files/fr/web/api/geolocationpositionerror/index.html create mode 100644 files/fr/web/api/geolocationpositionerror/index.md (limited to 'files/fr/web/api/geolocationpositionerror') diff --git a/files/fr/web/api/geolocationpositionerror/index.html b/files/fr/web/api/geolocationpositionerror/index.html deleted file mode 100644 index 9a7f5a0af1..0000000000 --- a/files/fr/web/api/geolocationpositionerror/index.html +++ /dev/null @@ -1,80 +0,0 @@ ---- -title: GeolocationPositionError -slug: Web/API/GeolocationPositionError -translation_of: Web/API/GeolocationPositionError ---- -
{{securecontext_header}}{{APIRef("Geolocation API")}}
- -

L'interface GeolocationPositionError représente la raison de l'erreur apparue lorsque l'on utilise la géolocalisation de l'appareil.

- -

Propriétés

- -

L'interface GeolocationPositionError n'hérite d'aucune propriété.

- -
-
{{domxref("GeolocationPositionError.code")}} {{readonlyInline}} {{securecontext_inline}}
-
Retourne un unsigned short représentant un code d'erreur. Les valeurs possibles sont: - - - - - - - - - - - - - - - - - - - - - - - -
ValeurConstante associéeDescription
1PERMISSION_DENIEDL’acquisition de la position échoue car la page n'a pas l'autorisation de le faire.
2POSITION_UNAVAILABLEL’acquisition de la localisation échoue car au moins une source donnant la position a retourné une erreur interne.
3TIMEOUTLe temps alloué pour obtenir la position défini par {{domxref("PositionOptions.timeout")}} est écoulé avant que l'information soit obtenu.
-
-
{{domxref("GeolocationPositionError.message")}} {{readonlyInline}} {{securecontext_inline}}
-
Retourne une {{domxref("DOMString")}} compréhensible par un humain décrivant les détails de l'erreur. Les spécifications indiquent que cela sert au débogage et ne doit pas être directement affiché à l'utilisateur.
-
- -

Méthodes

- -

L'interface GeolocationPositionError n'implémente et n'hérite d'aucune méthode.

- -

Spécifications

- - - - - - - - - - - - - - - - -
SpécificationStatutCommentaires
{{SpecName('Geolocation', '#position_error_interface', 'GeolocationPositionError')}}{{Spec2('Geolocation')}}Définition initiale.
- -

Compatibilité des navigateurs

- - - -

{{Compat("api.GeolocationPositionError")}}

- -

Voir aussi

- - diff --git a/files/fr/web/api/geolocationpositionerror/index.md b/files/fr/web/api/geolocationpositionerror/index.md new file mode 100644 index 0000000000..9a7f5a0af1 --- /dev/null +++ b/files/fr/web/api/geolocationpositionerror/index.md @@ -0,0 +1,80 @@ +--- +title: GeolocationPositionError +slug: Web/API/GeolocationPositionError +translation_of: Web/API/GeolocationPositionError +--- +
{{securecontext_header}}{{APIRef("Geolocation API")}}
+ +

L'interface GeolocationPositionError représente la raison de l'erreur apparue lorsque l'on utilise la géolocalisation de l'appareil.

+ +

Propriétés

+ +

L'interface GeolocationPositionError n'hérite d'aucune propriété.

+ +
+
{{domxref("GeolocationPositionError.code")}} {{readonlyInline}} {{securecontext_inline}}
+
Retourne un unsigned short représentant un code d'erreur. Les valeurs possibles sont: + + + + + + + + + + + + + + + + + + + + + + + +
ValeurConstante associéeDescription
1PERMISSION_DENIEDL’acquisition de la position échoue car la page n'a pas l'autorisation de le faire.
2POSITION_UNAVAILABLEL’acquisition de la localisation échoue car au moins une source donnant la position a retourné une erreur interne.
3TIMEOUTLe temps alloué pour obtenir la position défini par {{domxref("PositionOptions.timeout")}} est écoulé avant que l'information soit obtenu.
+
+
{{domxref("GeolocationPositionError.message")}} {{readonlyInline}} {{securecontext_inline}}
+
Retourne une {{domxref("DOMString")}} compréhensible par un humain décrivant les détails de l'erreur. Les spécifications indiquent que cela sert au débogage et ne doit pas être directement affiché à l'utilisateur.
+
+ +

Méthodes

+ +

L'interface GeolocationPositionError n'implémente et n'hérite d'aucune méthode.

+ +

Spécifications

+ + + + + + + + + + + + + + + + +
SpécificationStatutCommentaires
{{SpecName('Geolocation', '#position_error_interface', 'GeolocationPositionError')}}{{Spec2('Geolocation')}}Définition initiale.
+ +

Compatibilité des navigateurs

+ + + +

{{Compat("api.GeolocationPositionError")}}

+ +

Voir aussi

+ + -- cgit v1.2.3-54-g00ecf