window.menubar

JavaScript1.2+ Nav4+ Syntax

							window.menubar.property
						

Description

The menubar 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 menu bar is visible to the user or not.

Note

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

Example

Please see the example of Window.menubar.visible for an example of using the menubar 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.