• Web APIs
  • visible
  • Related pages for DOM
    1. Attr
    2. CustomEvent
    3. DOMError Deprecated
    4. DOMPoint
    5. Document
    6. Event
    7. MutationRecord
    8. NodeList
    9. Text
    10. TreeWalker
    11. 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.

  • Instance properties

    BarProp.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.

    js
    console.log(window.locationbar);
    

    Specifications

    Specification
    Product help
  • Related pages for DOM
    1. Attr
    2. CustomEvent
    3. DOMParser
    4. DOMTokenList
    5. Element
    6. MutationObserver
    7. NodeIterator
    8. StaticRange
    9. TimeRanges
    10. XMLDocument
  • ","source":{"folder":"en-us/web/api/barprop","github_url":"https://github.com/mdn/content/blob/main/files/en-us/web/api/barprop/index.md","last_commit_url":"https://github.com/mdn/content/commit/a4675b9077ae32f989c7ecac94f454db2653c4fc","filename":"index.md"},"summary":"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.","title":"BarProp","toc":[{"text":"Instance properties","id":"instance_properties"},{"text":"Examples","id":"examples"},{"text":"Specifications","id":"specifications"},{"text":"Browser compatibility","id":"browser_compatibility"}],"baseline":{"baseline":"high","baseline_low_date":"2015-07-29","baseline_high_date":"2018-01-29","support":{"chrome":"1","chrome_android":"18","edge":"12","firefox":"1","firefox_android":"4","safari":"3","safari_ios":"1"},"asterisk":true},"browserCompat":["api.BarProp"],"pageType":"web-api-interface"}}

    Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

    Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant