Skip to content

ActivityBarItemOptions

Defined in: namespaces.ts:226

Options for activity bar item registration.

title: string

Defined in: namespaces.ts:228

Display title for the item.


icon: SFSymbolName

Defined in: namespaces.ts:230

SF Symbol name for the item icon.


optional position?: "top" | "bottom"

Defined in: namespaces.ts:232

Position hint: “top” or “bottom”. Default: “bottom”.


optional view?: ViewDescriptor

Defined in: namespaces.ts:234

JSON view descriptor for the item content.


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

Defined in: namespaces.ts:236

Handler function invoked when the item is clicked.

string

void | Promise<void>


optional priority?: number

Defined in: namespaces.ts:238

Priority for ordering (100+ for plugins).