ComponentInstance
@agros/tools / ComponentInstance
Class: ComponentInstance
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new ComponentInstance(metadata)
Parameters
| Name | Type |
|---|---|
metadata | ComponentInstanceMetadata |
Defined in
packages/agros-tools/src/component-instance.class.ts:19
Properties
Component
• Private Component: any
Property
React component for current component instance
Defined in
packages/agros-tools/src/component-instance.class.ts:13
metadata
• Readonly metadata: ComponentInstanceMetadata
Defined in
packages/agros-tools/src/component-instance.class.ts:20
Methods
getComponent
▸ getComponent<T>(): T
Type parameters
| Name | Type |
|---|---|
T | any |
Returns
T
Defined in
packages/agros-tools/src/component-instance.class.ts:27
setComponent
▸ setComponent(Component): void
Parameters
| Name | Type |
|---|---|
Component | any |
Returns
void