Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "application"

Index

Variables

Let android

Const discardedErrorEvent

discardedErrorEvent: string

Const displayedEvent

displayedEvent: string

Const exitEvent

exitEvent: string

Let ios

Const launchEvent

launchEvent: string

Const lowMemoryEvent

lowMemoryEvent: string

Const orientationChangedEvent

orientationChangedEvent: string

Const resumeEvent

resumeEvent: string

Const suspendEvent

suspendEvent: string

Const systemAppearanceChangedEvent

systemAppearanceChangedEvent: string

Const uncaughtErrorEvent

uncaughtErrorEvent: string

Functions

_resetRootView

  • Parameters

    Returns any

addCss

  • addCss(cssText: string, attributeScoped?: boolean): void
  • Parameters

    • cssText: string
    • Optional attributeScoped: boolean

    Returns void

getCssFileName

  • getCssFileName(): string
  • Returns string

getMainEntry

getNativeApplication

  • getNativeApplication(): any
  • Returns any

getResources

  • getResources(): any
  • Returns any

getRootView

  • getRootView(): View
  • Returns View

hasLaunched

  • hasLaunched(): boolean
  • Returns boolean

hasListeners

  • hasListeners(eventName: string): boolean
  • Parameters

    • eventName: string

    Returns boolean

loadAppCss

  • loadAppCss(): any
  • Returns any

notify

  • notify(data: any): void
  • Parameters

    • data: any

    Returns void

off

  • off(eventNames: string, callback?: any, thisArg?: any): any
  • off(eventNames: string, callback?: any, thisArg?: any): any
  • Parameters

    • eventNames: string
    • Optional callback: any
    • Optional thisArg: any

    Returns any

  • Parameters

    • eventNames: string
    • Optional callback: any
    • Optional thisArg: any

    Returns any

on

  • on(event: "cssChanged", callback: function, thisArg?: any): any
  • on(event: "livesync", callback: function): any
  • on(eventNames: string, callback: function, thisArg?: any): any
  • on(event: "launch", callback: function, thisArg?: any): any
  • on(event: "displayed", callback: function, thisArg?: any): any
  • on(event: "suspend", callback: function, thisArg?: any): any
  • on(event: "resume", callback: function, thisArg?: any): any
  • on(event: "exit", callback: function, thisArg?: any): any
  • on(event: "lowMemory", callback: function, thisArg?: any): any
  • on(event: "uncaughtError", callback: function, thisArg?: any): any
  • on(event: "discardedError", callback: function, thisArg?: any): any
  • on(event: "orientationChanged", callback: function, thisArg?: any): any
  • on(event: "systemAppearanceChanged", callback: function, thisArg?: any): any
  • Parameters

    Returns any

  • Parameters

    • event: "livesync"
    • callback: function

    Returns any

  • Parameters

    • eventNames: string
    • callback: function
        • (data: any): void
        • Parameters

          • data: any

          Returns void

    • Optional thisArg: any

    Returns any

  • Parameters

    Returns any

  • Parameters

    • event: "displayed"
    • callback: function
    • Optional thisArg: any

    Returns any

  • Parameters

    Returns any

  • Parameters

    Returns any

  • Parameters

    Returns any

  • Parameters

    Returns any

  • Parameters

    Returns any

  • Parameters

    Returns any

  • Parameters

    Returns any

  • Parameters

    Returns any

orientation

  • orientation(): "portrait" | "landscape" | "unknown"
  • Returns "portrait" | "landscape" | "unknown"

run

  • Parameters

    Returns any

setCssFileName

  • setCssFileName(cssFile: string): void
  • Parameters

    • cssFile: string

    Returns void

setResources

  • setResources(resources: any): void
  • Parameters

    • resources: any

    Returns void

systemAppearance

  • systemAppearance(): "dark" | "light" | null
  • Returns "dark" | "light" | null

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method