In HTML Window.menubar property returns the object of menubar, for which we can check the visibility.
objectReference = window.menubar
Example: This example uses Window.menubar property to check the visibility of menuber object.
Click the button:
When the button is clicked:
Supported Browsers: The browsers supported by Window.menubar property are listed below:
- Google Chrome
- Edge 12
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.