ic-disable-when-doc-inactive
- Disable When Document Hidden AttributeThe 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.
The value of the attribute should be true
or false
ic-disable-when-doc-inactive
has no dependency implications.