Skip to content

PanelOptions

Defined in: namespaces.ts:202

Options for structured panel registration.

title: string

Defined in: namespaces.ts:204

Display title for the panel.


optional icon?: SFSymbolName

Defined in: namespaces.ts:206

SF Symbol name for the panel icon.


optional target?: "sidebar" | "pane"

Defined in: namespaces.ts:208

Target region: “sidebar” or “pane”. Default: “sidebar”.


optional position?: "top" | "bottom"

Defined in: namespaces.ts:210

Position hint: “top” or “bottom” (for sidebar). Default: “bottom”.


view: ViewDescriptor

Defined in: namespaces.ts:212

JSON view descriptor for the panel content.


optional handler?: (action) => void | Promise<void>

Defined in: namespaces.ts:214

Handler function invoked for interactive elements.

string

void | Promise<void>


optional priority?: number

Defined in: namespaces.ts:216

Priority for ordering (100+ for plugins, lower = higher priority).


optional autoShow?: boolean

Defined in: namespaces.ts:221

Whether the panel should auto-show in a pane tab on first registration. Only applies when target is "pane". Default: true.