ic-disable-when-doc-inactive - Disable When Document Hidden Attribute

Summary

The ic-disable-when-doc-inactive attribute tells Intercooler to not to issue a given request if the document does not have focus, as determined by the document.hasFocus() property. This allows you to pause polling, for example, when a document is not focused. If you wish for polling to occur even if the window is inactive (but still potentially visible), consider using the ic-disable-when-document-hidden attribute instead.

Syntax

The value of the attribute should be true or false

Dependencies

ic-disable-when-doc-inactive has no dependency implications.