PanelOptions
Defined in: namespaces.ts:201
Options for structured panel registration.
Properties
Section titled “Properties”title:
string
Defined in: namespaces.ts:203
Display title for the panel.
optionalicon?:SFSymbolName
Defined in: namespaces.ts:205
SF Symbol name for the panel icon.
target?
Section titled “target?”
optionaltarget?:"sidebar"|"pane"
Defined in: namespaces.ts:207
Target region: “sidebar” or “pane”. Default: “sidebar”.
position?
Section titled “position?”
optionalposition?:"top"|"bottom"
Defined in: namespaces.ts:209
Position hint: “top” or “bottom” (for sidebar). Default: “bottom”.
view:
ViewDescriptor
Defined in: namespaces.ts:211
JSON view descriptor for the panel content.
handler?
Section titled “handler?”
optionalhandler?: (action) =>void|Promise<void>
Defined in: namespaces.ts:213
Handler function invoked for interactive elements.
Parameters
Section titled “Parameters”action
Section titled “action”string
Returns
Section titled “Returns”void | Promise<void>
priority?
Section titled “priority?”
optionalpriority?:number
Defined in: namespaces.ts:215
Priority for ordering (100+ for plugins, lower = higher priority).
autoShow?
Section titled “autoShow?”
optionalautoShow?:boolean
Defined in: namespaces.ts:220
Whether the panel should auto-show in a pane tab on first registration.
Only applies when target is "pane". Default: true.