Skip to main content

Class: VisualComponents<TSettings, TComponentProps>

Type parameters

Name
TSettings
TComponentProps

Constructors

constructor

new VisualComponents<TSettings, TComponentProps>(defaultComponents)

Type parameters

Name
TSettings
TComponentProps

Parameters

NameType
defaultComponentsDictionary<IComponentDefinition<TComponentProps, TSettings> | VisualComponent<TComponentProps>>

Methods

getComponent

getComponent(type): VisualComponentState<TComponentProps, TSettings>

Parameters

NameType
typeundefined | null | string

Returns

VisualComponentState<TComponentProps, TSettings>


import

import(obj?): void

Parameters

NameType
obj?IVisualComponentsObject<TSettings, TComponentProps>

Returns

void