Skip to main content

Class: VisualComponentState<TComponentProps, TSettings>

Type parameters

Name
TComponentProps
TSettings

Constructors

constructor

new VisualComponentState<TComponentProps, TSettings>(component)

Type parameters

Name
TComponentProps
TSettings

Parameters

NameType
componentVisualComponent<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

NameType
newComponentVisualComponent<TComponentProps> | IComponentDefinition<TComponentProps, TSettings>

Returns

void