Home > @tridion-sites/extensions > QueryOptions > refetchOnWindowFocus
If set to true
, the query will refetch on window focus if the data is stale. If set to false
, the query will not refetch on window focus. If set to 'always'
, the query will always refetch on window focus. Defaults to true
.
Signature:
refetchOnWindowFocus?: boolean | 'always';