Preparing search index...
The search index is not available
@equinor/echo-utils
@equinor/echo-utils
useNavigatorOnLine
Function useNavigatorOnLine
use
Navigator
On
Line
(
)
:
boolean
Checks if the client is online or offline and update accordingly.
Returns
boolean
{boolean}
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@equinor/echo-utils
Color
colorHelper
Rgb
calculateBrighterHexColor
getColorStatusFromString
hexColorToRgb
stringToColour
DetailedDeviceInformationProvider
DeviceInformation
Timer
Callback
LoggerConfiguration
ObserverInterface
Options
Return
SubscriberCallbackFunction
Filter
ObserverIdentifier
ObserverClass
arrayHelper
colorHelper
defaultSearchParams
detailedDeviceInformationProvider
deviceInfo
disposable
iOs
stringHelper
addLogSubscriber
arraysIsEqual
dateToStringOrEmpty
deepIsEqual
diffHours
diffMinutes
diffSeconds
elapsedTimeInSeconds
elapsedTimeInSecondsBetween
elapsedTimeInSecondsToFixed
filterOnProps
findValueInObjectValues
fireAndForget
formatString
generateRandomId
getDeepLinkParam
getDeepLinkParams
getKeyByValue
getOnLineStatus
logError
logInfo
logMSAL
logPerformanceToConsole
logVerbose
logWarn
objectIsEmpty
objectsIsEqual
parseJsonWithDate
ping
removeLogSubscriber
setDeepLinkParam
setLoggerConfiguration
useCleanup
useDebounce
useEffectAsync
useFocus
useInitial
useIsIosDevice
useIsSmallScreen
useNavigatorOnLine
useOnOutsideClick
usePing
useStateSafe
useTabTitle
useWindowSize
Generated using
TypeDoc
Checks if the client is online or offline and update accordingly.