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