window.scrollbars

JavaScript1.2+ Nav4+ Syntax

							window.scrollbars.property
						

Description

The scrollbars property of the Window object is, to some degree, an object itself. The real use of this property is to access its visible property to determine if the scrollbars are visible to the user or not.

Note

As of this writing, the scrollbars property only has one subproperty: visible.

Example

Please see the example of Window.scrollbars.visible for an example of using the scrollbars property.

Get Pure JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.