Skip to content

Interface: ToolbarChromeFields<S> ​

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

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:155


surface ​

ts
surface: S;

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


order? ​

ts
optional order?: number;

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


when? ​

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

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

Parameters ​

ctx ​

ContextKeys

target ​

ToolbarItemContext[S]

Returns ​

boolean