Skip to content

@fabwcie/free-drawing / utils/widgets / getWidgetNames

Function: getWidgetNames() ​

getWidgetNames(widgets): WidgetName[]

Defined in: packages/free-drawing/src/utils/widgets.ts:9

Names of widgets option (list or object), in given order, unknown names are ignored

Parameters ​

widgets ​

WidgetsOptions

widgets option: list of names, or options by name

Returns ​

WidgetName[]

known widget names (a warning for each unknown one)