Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

app

app: App

screen

screen: IScreen

Static alertWindow

alertWindow: AtomAlertWindow = AtomAlertWindow

This is just to preload Alert window.

Accessors

currentTarget

  • get currentTarget(): HTMLElement
  • set currentTarget(v: HTMLElement): void

location

title

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

Methods

alert

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

back

  • back(): void

closePopup

  • closePopup(e: MouseEvent): void

confirm

getHostForElement

  • getHostForElement(): HTMLElement

navigate

  • navigate(url: string): void

notify

openPage

Protected openWindow

refresh

  • refresh(): void

refreshScreen

  • refreshScreen(): void

register

Protected registerForPopup

  • registerForPopup(): void

registerHostForWindow

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