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

addCss

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

getCssFileName

  • getCssFileName(): string

getMainEntry

getNativeApplication

  • getNativeApplication(): any

getResources

  • getResources(): any

getRootView

  • getRootView(): View

hasLaunched

  • hasLaunched(): boolean

hasListeners

  • hasListeners(eventName: string): boolean

loadAppCss

  • loadAppCss(): any

notify

  • notify(data: any): void

off

  • off(eventNames: string, callback?: any, thisArg?: any): any
  • off(eventNames: string, callback?: any, thisArg?: any): 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

orientation

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

run

setCssFileName

  • setCssFileName(cssFile: string): void

setResources

  • setResources(resources: any): void

systemAppearance

  • systemAppearance(): "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