Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

app

app: App

Accessors

location

title

  • get title(): string
  • set title(v: string): void

Methods

alert

  • alert(message: string | any, title?: string): Promise<any>

back

  • back(): void

confirm

  • confirm(message: string, title?: string): Promise<boolean>

navigate

  • navigate(url: string): void

notify

  • notify(message: string, title?: string, type?: NotifyType, delay?: number): void

openPage

Protected openWindow

refresh

  • refresh(): void

registerNavigationHook

remove

  • remove(view: object, force?: boolean): Promise<boolean>
  • Sends signal to remove window/popup/frame, it will not immediately remove, because it will identify whether it can remove or not by displaying cancellation warning. Only if there is no cancellation warning or user chooses to force close, it will not remove.

    Parameters

    • view: object
    • Optional force: boolean

    Returns Promise<boolean>

    true if view was removed successfully

Generated using TypeDoc