Skip to content
Related Articles
Open in App
Not now

Related Articles

Web Window API | Window statusbar property

Improve Article
Save Article
  • Last Updated : 31 Jul, 2019
Improve Article
Save Article

In Web API Window.statusbar property returns the object of statusbar, for which we can check the visibility.


objectReference = window.statusbar

Example: Check the visibility

<!DOCTYPE html>
        Window statusbar property
    <script type="text/javascript">
        function getvisibility() {
              'visibility').innerHTML = window.statusbar.visible;
        <h1 style="color:green;">  
        <h2>Window statusbar property</h2>
        <button onclick="getvisibility ();" 
                id="btn">Check visibility</button>
        <p id='visibility'></p>

Output :


Supported Browsers:

  • Google Chrome
  • Edge 12
  • Firefox
  • Safari
  • Opera
My Personal Notes arrow_drop_up
Related Articles

Start Your Coding Journey Now!