Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ElectronWindowService

Hierarchy

Index

Constructors

constructor

Properties

Protected closeOnUnload

closeOnUnload: boolean = false

Close the window right away when true, else check if we can unload.

Protected Readonly contributions

Protected Readonly corePreferences

Protected Readonly delegate

Protected Readonly electronWindowPreferences

electronWindowPreferences: PreferenceProxy<ElectronWindowConfiguration>

Protected frontendApplication

frontendApplication: FrontendApplication

Protected isUnloading

isUnloading: boolean = false

Lock to prevent multiple parallel executions of the beforeunload listener.

Protected onUnloadEmitter

onUnloadEmitter: Emitter<void> = ...

Accessors

onUnload

  • get onUnload(): Event<void>

Methods

canUnload

  • canUnload(): boolean

Protected init

  • init(): void

onStart

openNewDefaultWindow

  • openNewDefaultWindow(): void

openNewWindow

Protected preventUnload

  • preventUnload(event: BeforeUnloadEvent): string | void

registerUnloadListeners

  • registerUnloadListeners(): void

Protected shouldUnload

  • shouldUnload(): boolean

Protected updateWindowZoomLevel

  • updateWindowZoomLevel(): void