Results 1 - 1 of 1

Document.visibilityState

The Document.visibilityState read-only property returns the visibility of the document, that is in which context this element is now visible. It is useful to know if the document is in the background or an invisible tab, or only loaded for pre-rendering. Possible values are:
Document DOM Page Visibility API Property Read-only Reference Web