Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.