Ende.TrayPanelOptions
interface · desktop apps only
interface Ende.TrayPanelOptionsProperties
url
url?: stringURL to load in the panel window.
width
width?: numberPanel width in pixels. @default {360}
height
height?: numberPanel height in pixels. @default {480}
hideOnBlur
hideOnBlur?: booleanHide 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).