API Reference › Globals › ConfiguratorViewModelCallbackI
# Interface: ConfiguratorViewModelCallbackI
# Hierarchy
- ConfiguratorViewModelCallbackI
# Implemented by
# Index
# Methods
- addComponentHandlers
- addPreviewHandlers
- addPreviewLineHandlers
- clearScene
- componentDeleted
- componentUpdated
- configurationLoaded
- display
- planObjectConstructionDone
- planObjectUpdated
- previewConstructionDone
# Methods
# addComponentHandlers
▸ addComponentHandlers(component
: RoomleComponent): void
Defined in packages/common-core/src/view-model/configurator-view-model.ts:49
Parameters:
Name | Type |
---|---|
component | RoomleComponent |
Returns: void
# addPreviewHandlers
▸ addPreviewHandlers(previewComponent
: PreviewComponent): void
Defined in packages/common-core/src/view-model/configurator-view-model.ts:53
Parameters:
Name | Type |
---|---|
previewComponent | PreviewComponent |
Returns: void
# addPreviewLineHandlers
▸ addPreviewLineHandlers(previewLineComponent
: PreviewLineComponent): void
Defined in packages/common-core/src/view-model/configurator-view-model.ts:51
Parameters:
Name | Type |
---|---|
previewLineComponent | PreviewLineComponent |
Returns: void
# clearScene
▸ clearScene(): void
Defined in packages/common-core/src/view-model/configurator-view-model.ts:44
Returns: void
# componentDeleted
▸ componentDeleted(component
: RoomleComponent): void
Defined in packages/common-core/src/view-model/configurator-view-model.ts:34
Parameters:
Name | Type |
---|---|
component | RoomleComponent |
Returns: void
# componentUpdated
▸ componentUpdated(component
: RoomleComponent, kernelComponent
: KernelComponent): void
Defined in packages/common-core/src/view-model/configurator-view-model.ts:32
Parameters:
Name | Type |
---|---|
component | RoomleComponent |
kernelComponent | KernelComponent |
Returns: void
# configurationLoaded
▸ configurationLoaded(component
: RoomleComponent, isFreeFlying
: boolean): void
Defined in packages/common-core/src/view-model/configurator-view-model.ts:42
Parameters:
Name | Type |
---|---|
component | RoomleComponent |
isFreeFlying | boolean |
Returns: void
# display
▸ display(component
: RoomleComponent): void
Defined in packages/common-core/src/view-model/configurator-view-model.ts:46
Parameters:
Name | Type |
---|---|
component | RoomleComponent |
Returns: void
# planObjectConstructionDone
▸ planObjectConstructionDone(planObject
: PlanObject): void
Defined in packages/common-core/src/view-model/configurator-view-model.ts:38
Parameters:
Name | Type |
---|---|
planObject | PlanObject |
Returns: void
# planObjectUpdated
▸ planObjectUpdated(planObject
: PlanObject, geometryChanged
: boolean): void
Defined in packages/common-core/src/view-model/configurator-view-model.ts:36
Parameters:
Name | Type |
---|---|
planObject | PlanObject |
geometryChanged | boolean |
Returns: void
# previewConstructionDone
▸ previewConstructionDone(component
: RoomleComponent, hasPreviews
: boolean): void
Defined in packages/common-core/src/view-model/configurator-view-model.ts:40
Parameters:
Name | Type |
---|---|
component | RoomleComponent |
hasPreviews | boolean |
Returns: void