Skip to main content
Sets the browser context to offline or online mode. Example: setOffline(enabled: true) Returns true if the offline status was successfully set.

Definition

Arguments

enabled

Boolean! Whether to enable (true) or disable (false) offline mode.

Returns

Boolean! The Boolean scalar type represents true or false.