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/scrollbars/index.html | 75 +++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 files/fr/web/api/window/scrollbars/index.html (limited to 'files/fr/web/api/window/scrollbars') diff --git a/files/fr/web/api/window/scrollbars/index.html b/files/fr/web/api/window/scrollbars/index.html new file mode 100644 index 0000000000..8d563a54bc --- /dev/null +++ b/files/fr/web/api/window/scrollbars/index.html @@ -0,0 +1,75 @@ +--- +title: Window.scrollbars +slug: Web/API/Window/scrollbars +tags: + - API + - HTML DOM + - Propriété + - Reference + - Window +translation_of: Web/API/Window/scrollbars +--- +
{{APIRef()}}
+ +

La propriété Window.scrollbars renvoie l'objet scrollbars, dont la visibilité peut être vérifié.

+ +

Syntaxe

+ +
objRef = window.scrollbars
+
+ +

Exemple

+ +

L'exemple HTML complet suivant montre comment la propriété visible de l'objet scrollbars est utilisée.

+ +
<!doctype html>
+<html>
+<head>
+  <title>Divers Tests DOM</title>
+  <script>
+    let visibleScrollbars = window.scrollbars.visible;
+  </script>
+</head>
+<body>
+  <p>Divers Tests DOM</p>
+</body>
+</html>
+
+ +

Spécifications

+ + + + + + + + + + + + + + + + + + + +
SpécificationStatutCommentaire
{{SpecName('HTML WHATWG', 'browsers.html#dom-window-scrollbars', 'Window.scrollbars')}}{{Spec2('HTML WHATWG')}}
{{SpecName('HTML5 W3C', 'browsers.html#dom-window-scrollbars', 'Window.scrollbars')}}{{Spec2('HTML5 W3C')}}
+ +

Compatibilité des navigateurs

+ + + +

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

+ +

Voir également

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