Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

hidden property

Returns whether a webpage is visible.

This property is read-only.

Internet Explorer 10

 

Syntax

JavaScript
ptr = object.hidden

 

Property values

Type: boolean

Shows the status whether a page is visible or not.

ValueCondition
true

The page is hidden

false

The page is visible.

 

Standards information

Remarks

The Visibility API provides Web applications with the means to programmatically determine the current visibility of a page and be notified of visibility changes.

You can use this property to determine whether a page is visible or not. If it is not visible, you can throttle page activity and resource usage to create more power- and CPU-efficient applications.

This is a property of the document object. You can also use the visibilityState property to learn more about the page visibility state and also use the visibilitychanged event to determine when a state changes.

See also

window

 

 

Show:
© 2014 Microsoft