Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AppContext

Service to get application/system relevant information. Such as device information, screen orientation or browser language.

Hierarchy

  • AppContext

Index

Methods

getBrowserLanguage

  • getBrowserLanguage(): string
  • Gets the preferred language from the browser, e.g "en".

    Returns string

    Language code in ISO 639-1 format.

isMobileDevice

  • isMobileDevice(): boolean

isOrientationPortrait

  • isOrientationPortrait(): boolean

Generated using TypeDoc