waitForQuiet
The waitForQuiet
method forces the connector to wait until there has been a specified amount of inactivity (in which no resources are downloaded and there are no changes to the DOM).
Syntax
waitForQuiet( quiet, timeout )
Arguments
Argument | Description |
---|---|
quiet
|
(integer) The specified amount of "quiet" time, as a number of milliseconds. |
timeout
|
(integer) The maximum amount of time to wait, in milliseconds. |
Returns
(Boolean). Returns true if the page was quiet for specified amount of time, or false if the timeout was reached.