> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes. # checkConnectionOnVisible > Whether to check peer connection health when the page becomes visible. ```ts get checkConnectionOnVisible(): boolean set checkConnectionOnVisible(value: boolean) ``` Whether to check peer connection health when the page becomes visible. ## **Parameters** **`value`** `boolean` — required If `true`, checks connectivity when the tab or window becomes visible again. --- ## **Examples** ```ts // Read console.log(client.preferences.checkConnectionOnVisible); // Write client.preferences.checkConnectionOnVisible = true; ``` > Whether to check peer connection health when the page becomes visible.