Firefox Tomorrow

web api interface

BarProp

View on MDN ↗

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.

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

Instance properties

  • visible Read 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

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.