@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?
optionalicon?: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?
optionaltitle?: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