Skip to content

Interface: ToolbarChromeFields<S>

Defined in: packages/sdk/src/toolbar-items.ts:122

Shared placement fields for non-interactive toolbar chrome (ToolbarSeparatorContribution / ToolbarSpacerContribution).

Extended by

Type Parameters

S

S extends ToolbarSurface = ToolbarSurface

Properties

id

ts
id: string;

Defined in: packages/sdk/src/toolbar-items.ts:125


surface

ts
surface: S;

Defined in: packages/sdk/src/toolbar-items.ts:126


order?

ts
optional order?: number;

Defined in: packages/sdk/src/toolbar-items.ts:127


when?

ts
optional when?: (ctx, target) => boolean;

Defined in: packages/sdk/src/toolbar-items.ts:128

Parameters

ctx

ContextKeys

target

ToolbarItemContext[S]

Returns

boolean