API Reference > ui-framework > Widget > WidgetDef > setLabel setLabel Method Set the label. setLabel(v: string | StringGetter): void Parameter Type Description v string | StringGetter A string or a function to get the string. Returns - void Defined in ui/framework/src/ui-framework/widgets/WidgetDef.tsx Line 227 Last Updated: 13 June, 2024