Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "geocortex/infrastructure/BrowserUtils"

Index

Functions

handleTakeNativePhotoCamera

  • handleTakeNativePhotoCamera(callback: function): void
  • Parameters

    • callback: function
        • (photoData: any): void
        • Parameters

          • photoData: any

          Returns void

    Returns void

handleTakeNativePhotoGallery

  • handleTakeNativePhotoGallery(callback: function): void
  • Parameters

    • callback: function
        • (photoData: any): void
        • Parameters

          • photoData: any

          Returns void

    Returns void

isAndroid

  • isAndroid(): boolean
  • Detectes whether we are currently on an android device

    Returns boolean

isChrome

  • isChrome(): boolean
  • Detects whether the current browser is Chrome

    Returns boolean

isEdge

  • isEdge(): number
  • Detectes whether the current browser is Edge. Returns the version number if it is or -1 if it's not.

    Returns number

isFileApiSupported

  • isFileApiSupported(): boolean
  • Returns boolean

isFileInputSupported

  • isFileInputSupported(): boolean
  • Returns boolean

isFirefoxAndroid

  • isFirefoxAndroid(): boolean
  • Detects whether the current browser is the Firefox Android browser NOTE: We do not support Firefox on Android, this code is just kept to maintain existing legacy behavior for the DatePickerFormItemView

    Returns boolean

isIE

  • isIE(): number
  • Detectes whether the current browser is Internet Explorer. Returns the version number if it is or -1 if it's not.

    Returns number

isIPad

  • isIPad(): boolean
  • Returns whether we are currently on an iPad. iPadOS will pretend that it is a desktop mac, but has touch support.

    Returns boolean

isIPhone

  • isIPhone(): boolean
  • Returns whether we are currently on an iPhone

    Returns boolean

isInternetExplorerOrEdge

  • isInternetExplorerOrEdge(): number

isSafari

  • isSafari(): boolean
  • Detects whether the current browser is Safari

    Returns boolean