AccuDrawWidgetControl Class

AccuDraw Widget Control

Extends

Methods

Name Description
constructor(info: ConfigurableCreateInfo, options: any): AccuDrawWidgetControl    

Inherited methods

Name Inherited from Description
getType(): ConfigurableUiControlType WidgetControl Gets the type of ConfigurableUiControl, which is 'Widget' in this case
onFrontstageDeactivated(): void WidgetControl Called when Frontstage is deactivated.
onFrontstageReady(): void WidgetControl Called when Frontstage is ready.
onInitialize(): void WidgetControl Called to initialize the ConfigurableUiControl.
onWidgetStateChanged(): void WidgetControl Called when widget state changes.
restoreTransientState(): boolean WidgetControl Overwrite to restore transient DOM state.
saveTransientState(): void WidgetControl Overwrite to save transient DOM state (i.e.
setWidgetState(state: WidgetState): void WidgetControl Sets the WidgetState for this control

Properties

Name Type Description
id Static string    
label Accessor StaticReadOnly string    

Inherited properties

Name Type Inherited from Description
_appDataOptions Protected any WidgetControl  
applicationData Accessor ReadOnly any WidgetControl allow options set via appData to be seen by API calls
classId Accessor ReadOnly string WidgetControl Gets the class Id of configurable element
controlId Accessor ReadOnly string WidgetControl Returns the ID of this ConfigurableUiControl.
isReady Accessor ReadOnly Promise<void> WidgetControl Returns a promise that resolves when the control is ready for usage.
name Accessor ReadOnly string WidgetControl Get internal name of configurable element. If no name is defined in configuration
then the name will match the UniqueId.
reactNode Accessor ReactNode WidgetControl The ReactNode associated with this control
uniqueId Accessor ReadOnly string WidgetControl  
widgetDef Accessor WidgetDef WidgetControl The WidgetDef associated with this control

Defined in

Last Updated: 19 May, 2023