Ende.TrayPanel

interface · desktop apps only

interface Ende.TrayPanel

Handle to a tray-attached popover window created by Tray.attachPanel.

Properties

window

readonly window: BrowserWindow

The underlying panel window — use it to bind(), executeJs(), open devtools, etc.

visible

readonly visible: boolean

Whether the panel is currently shown.

Methods

show

show(): void

Show the panel, positioned under the tray icon.

hide

hide(): void

Hide the panel.

toggle

toggle(): void

Toggle the panel's visibility.

destroy

destroy(): void

Detach the panel: remove the tray/blur listeners and close the window.