API Reference > ui-framework > Frontstage > FrontstageManager > setWidgetState setWidgetState MethodStatic Sets the state of the widget with the given id setWidgetState(widgetId: string, state: WidgetState): boolean Parameter Type Description widgetId string Id of the Widget for which to set the state state WidgetState New state of the widget Returns - boolean true if the widget state was set successfully, or false if not. Defined in ui/framework/src/ui-framework/frontstage/FrontstageManager.ts Line 620 Last Updated: 11 June, 2024