Skip to content

ActivityBarItemOptions

Defined in: namespaces.ts:227

Options for activity bar item registration.

title: string

Defined in: namespaces.ts:229

Display title for the item.


icon: SFSymbolName

Defined in: namespaces.ts:231

SF Symbol name for the item icon.


optional position?: "top" | "bottom"

Defined in: namespaces.ts:233

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


optional view?: ViewDescriptor

Defined in: namespaces.ts:235

JSON view descriptor for the item content.


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

Defined in: namespaces.ts:237

Handler function invoked when the item is clicked.

string

void | Promise<void>


optional priority?: number

Defined in: namespaces.ts:239

Priority for ordering (100+ for plugins).