API Reference > appui-react > Widget > WidgetHost > addWidgetDef addWidgetDef Method Adds a WidgetDef to the list of Widgets. addWidgetDef(widgetDef: WidgetDef): void Parameter Type Description widgetDef WidgetDef Definition of the Widget to add Returns - void Defined in ui/appui-react/src/appui-react/widgets/WidgetHost.tsx Line 32 Last Updated: 30 November, 2023