BarProp

The BarProp interface of the Document Object Model represents the web browser user interface elements that are exposed to scripts in web pages. Each of the following interface elements are represented by a BarProp object.

Window.locationbar

The browser location bar.

Window.menubar

The browser menu bar.

Window.personalbar

The browser personal bar.

Window.scrollbars

The browser scrollbars.

Window.statusbar

The browser status bar.

Window.toolbar

The browser toolbar.

The BarProp interface is not accessed directly, but via one of these elements.

Properties

BarProp.visibleRead only

A Boolean, which is true if the bar represented by the used interface element is visible.

Examples

The following example prints a BarProp object to the console that represents the location bar.

console.log(window.locationbar);

Specifications

Specification
HTML Standard
# barprop

Browser compatibility

BCD tables only load in the browser