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

Résumé

+ +

Renvoie l'orientation en degrés (par incréments de 90 degrés) de la fenêtre par rapport à l'orientation naturelle de l'appareil.

+ +

Les seules valeurs possibles sont -90, 0, 90, et 180. Les valeurs positives sont dans le sens des aiguilles d'une montre; les valeurs négatives sont dans le sens antihoraire.

+ +

Spécifications

+ + + + + + + + + + + + + + + + +
SpécificationStatutCommentaires
{{SpecName('Compat', '#dom-window-orientation', 'Window.orientation')}}{{Spec2('Compat')}}
+ +

Compatibilité des navigateurs

+ + + +

{{Compat("api.Window.orientation")}}

-- cgit v1.2.3-54-g00ecf