Skip to content
Sheetwrite

Sheetwrite / Documentation

ToolbarOptions@sheetwrite/core/shell

Host element and configuration used to create the built-in toolbar.

Host element and configuration used to create the built-in toolbar.

Members 3

items Items to render; defaults to the full built-in action set.
items?: readonly ToolbarItem[];
icons Per-action icon overrides, exactly like GridConfig.icons.
icons?: Partial<Record<ToolbarActionName, ToolbarIcon>>;
label Accessible toolbar label (default "Spreadsheet formatting").
label?: string;

Declaration

View full TypeScript declaration
export interface ToolbarOptions {
items?: readonly ToolbarItem[];
icons?: Partial<Record<ToolbarActionName, ToolbarIcon>>;
label?: string;
}