Skip to content

@fabwcie/free-drawing / @types/toolbar / WidgetGroupOptions

Type Alias: WidgetGroupOptions ​

WidgetGroupOptions = object

Defined in: packages/free-drawing/src/@types/toolbar.ts:102

Group of toolbar widgets (widgetGroups option): one button showing its widgets, at the place of the first one

Properties ​

icon? ​

optional icon?: string

Defined in: packages/free-drawing/src/@types/toolbar.ts:106

Icon: 'shapes' (default), 'more', 'grid', 'plus', name of a widget (e.g. 'square') or svg code


title? ​

optional title?: string

Defined in: packages/free-drawing/src/@types/toolbar.ts:108

Button tooltip, "More tools" translated by default


widgets ​

widgets: WidgetName[]

Defined in: packages/free-drawing/src/@types/toolbar.ts:104

Widgets of the group, in this order: widgets of widgets option only, each one in one group