Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace offlineService

Helper functions for offline handling

import { offlineService } from '@oneblink/apps'

Index

Functions

Functions

  • isOffline(): boolean
  • Check if the user is currently offline

    Example

    const isOffline = offlineService.isOffline()
    // handle user being offline

    Returns boolean