Skip to content

@fabwcie/free-drawing / components/toolbar/widgets/GroupWidget / GroupWidgetOptions

Type Alias: GroupWidgetOptions ​

GroupWidgetOptions = object

Defined in: packages/free-drawing/src/components/toolbar/widgets/GroupWidget.ts:59

Options of a GroupWidget created by code (the widgetGroups drawer option gives names of widgets instead)

Properties ​

icon? ​

optional icon?: string

Defined in: packages/free-drawing/src/components/toolbar/widgets/GroupWidget.ts:63

Name of groupIcons or svg code, 'shapes' by default


title? ​

optional title?: string

Defined in: packages/free-drawing/src/components/toolbar/widgets/GroupWidget.ts:65

Button tooltip, "More tools" translated by default


widgets ​

widgets: BaseWidget[]

Defined in: packages/free-drawing/src/components/toolbar/widgets/GroupWidget.ts:61

Widgets of the group, in this order (created by the app or the library, not added to toolbar yet)