From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- .../fr/web/api/positionoptions/timeout/index.html | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 files/fr/web/api/positionoptions/timeout/index.html (limited to 'files/fr/web/api/positionoptions/timeout') diff --git a/files/fr/web/api/positionoptions/timeout/index.html b/files/fr/web/api/positionoptions/timeout/index.html new file mode 100644 index 0000000000..e0f9e323dd --- /dev/null +++ b/files/fr/web/api/positionoptions/timeout/index.html @@ -0,0 +1,45 @@ +--- +title: PositionOptions.timeout +slug: Web/API/PositionOptions/timeout +translation_of: Web/API/PositionOptions/timeout +--- +
{{securecontext_header}}{{APIRef("Geolocation API")}}
+ +

La propriété PositionOptions.timeout est de type long positif représentant la durée maximale (en millisecondes) que le périphérique est autorisé à prendre pour renvoyer une position. La valeur par défaut est Infinity, ce qui signifie que getCurrentPosition() ne retournera rien tant que la position n'est pas disponible.

+ +

Syntaxe

+ +
positionOptions.timeout = timeLength
+
+ +

Spécifications

+ + + + + + + + + + + + + + + + +
SpécificationStatusCommentaire
{{SpecName('Geolocation', '#dom-positionoptions-timeout', 'PositionOptions.timeout')}}{{Spec2('Geolocation')}}Définition initiale.
+ +

Compatibilité des navigateurs

+ + + +

{{Compat("api.PositionOptions.timeout")}}

+ +

Voir aussi

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