@fabwcie/free-drawing / utils/widgets / getWidgetGroups
Function: getWidgetGroups()
getWidgetGroups(
groups,names):WidgetGroupOptions[]
Defined in: packages/free-drawing/src/utils/widgets.ts:25
Groups of widgets option with widgets of toolbar only (a widget in one group), groups without widgets ignored
Parameters
groups
widgetGroups option
names
Widgets of toolbar
Returns
copies of the groups with their valid widgets (a widget only in its first group)