Ende.TrayPanelOptions

interface · desktop apps only

interface Ende.TrayPanelOptions

Properties

url

url?: string

URL to load in the panel window.

width

width?: number

Panel width in pixels. @default {360}

height

height?: number

Panel height in pixels. @default {480}

hideOnBlur

hideOnBlur?: boolean

Hide the panel when it loses focus (click-outside to dismiss).

Default: true

position

position?: (trayBounds: TrayBounds, panelSize: { width: number; height: number }) => { x: number; y: number }

Override where the panel is placed. Receives the tray icon's bounds and the panel size, and returns the top-left screen position. The default centers the panel horizontally under the icon — correct for a top menu bar; provide this to place it elsewhere (e.g. above a bottom-edge taskbar).