Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
hidden
Collapse the table of content
Expand the table of content

hidden property

Returns whether a webpage is visible.

This property is read-only.

Internet Explorer 10

 

Syntax

HRESULT get_hidden(
  [out] boolean **ptr
);

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.

 

 

Community Additions

ADD
Show:
© 2015 Microsoft