Methods
-
isVisible()
-
The function returns
true
if the page is visible orfalse
if the page is not visible andundefined
if the page visibility API is not supported by the browser.Returns:
whether the page is now visible or not (undefined is unknown)
- Type
- Boolean | void
Type Definitions
-
SummaryObject
-
Type:
- Object
Properties:
Name Type Description events
Number How many events were called
minMS
Number What was the min time for a cb to be called
maxMS
Number What was the max time for a cb to be called
avgMs
Number What was the average time for a cb to be called
lengthMs
Number How long this interval was in ms