WidgetControl Class
Deprecated in 4.16.0. Extends a deprecated class ConfigurableUiControl.
The base class for Widget controls.
Extends
Extended by
Methods
| Name | Description | |
|---|---|---|
| constructor(info: ConfigurableCreateInfo, options: any): WidgetControl | ||
| getType(): ConfigurableUiControlType | Gets the type of ConfigurableUiControl, which is 'Widget' in this case | |
| onWidgetStateChanged(): void | Called when widget state changes. | |
| restoreTransientState(): boolean | Overwrite to restore transient DOM state. | |
| saveTransientState(): void | Overwrite to save transient DOM state (i.e. | |
| setWidgetState(state: WidgetState): void | Sets the WidgetState for this control | 
Inherited methods
| Name | Inherited from | Description | 
|---|---|---|
| onFrontstageDeactivated(): void Inherited | ConfigurableUiControl | Called when Frontstage is deactivated. | 
| onFrontstageReady(): void Inherited | ConfigurableUiControl | Called when Frontstage is ready. | 
| onInitialize(): void Inherited | ConfigurableUiControl | Called to initialize the ConfigurableUiControl. | 
Properties
| Name | Type | Description | |
|---|---|---|---|
| reactNode Accessor | React.ReactNode | The ReactNode associated with this control | |
| reactNode Setter | reactNode(r: React.ReactNode): void | ||
| widgetDef Accessor | WidgetDef | The WidgetDef associated with this control | |
| widgetDef Setter | widgetDef(w: WidgetDef): void | 
Inherited properties
| Name | Type | Inherited from | Description | 
|---|---|---|---|
| _appDataOptions Protected Inherited | any | ConfigurableUiControl | |
| applicationData Accessor Inherited ReadOnly | any | ConfigurableUiControl | allow options set via appData to be seen by API calls | 
| classId Accessor Inherited ReadOnly | string | ConfigurableUiControl | Gets the class Id of configurable element | 
| controlId Accessor Inherited ReadOnly | string | ConfigurableUiControl | Returns the ID of this ConfigurableUiControl. | 
| isReady Accessor Inherited ReadOnly | Promise<void> | ConfigurableUiControl | Returns a promise that resolves when the control is ready for usage. | 
| name Accessor Inherited ReadOnly | string | ConfigurableUiControl | Get internal name of configurable element. If no name is defined in configuration then the name will match the UniqueId. | 
Defined in
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.