Skip to content

@serenity-is/corelib / getWidgetName

Function: getWidgetName()

getWidgetName(type): string

Defined in: src/ui/widgets/widgetutils.ts:11

Returns the widget name for a type, derived from its full type name with dots replaced by underscores.

Parameters

type

Function

The widget type.

Returns

string

The widget name.