Open In App

Web Window API | Window personalbar property

Last Updated : 31 Jul, 2019
Improve
Improve
Like Article
Like
Save
Share
Report

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

Syntax:

objectReference = window.personalbar

Example: Check the visibility




<!DOCTYPE html>
<html>
  
<head>
  
    <title>
        Window personalbar property
    </title>
  
    <script type="text/javascript">
        function getvisibility() {
  
            document.getElementById('visibility').innerHTML =
              window.personalbar.visible;
  
        }
    </script>
  
</head>
  
<body>
    <center>
  
        <h1 style="color:green;">  
                GeeksForGeeks  
            </h1>
  
        <h2>Window personalbar property</h2>
        <button onclick="getvisibility ();" id="btn">
          Check visibility
      </button>
        <p id='visibility'></p>
    </center>
</body>
  
</html>


Output:
Before clicking:

After clicking:

Supported Browsers:

  • Google Chrome
  • Edge 12
  • Firefox
  • Safari
  • Opera


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads