Class: VisualComponentState<TComponentProps, TSettings>
Type parameters
Name |
---|
TComponentProps |
TSettings |
Constructors
constructor
• new VisualComponentState<TComponentProps
, TSettings
>(component
)
Type parameters
Name |
---|
TComponentProps |
TSettings |
Parameters
Name | Type |
---|---|
component | VisualComponent <TComponentProps > | IComponentDefinition <TComponentProps , TSettings > |
Accessors
component
• get
component(): VisualComponent
<TComponentProps
>
Returns
VisualComponent
<TComponentProps
>
settings
• get
settings(): null
| TSettings
Returns
null
| TSettings
Methods
import
▸ import(newComponent
): void
Parameters
Name | Type |
---|---|
newComponent | VisualComponent <TComponentProps > | IComponentDefinition <TComponentProps , TSettings > |
Returns
void