Interface: ModularObservers
Properties
allSelected
allSelected:
Observable
<boolean
>
If true
it means all models on the scene are selected
applyOptionsForAll
applyOptionsForAll:
Observable
<boolean
>
If true
, each option selection will be synced with all products on scene
applyOptionsForInstances
applyOptionsForInstances:
Observable
<Record
<string
,boolean
>>
Map of booleans for products on scene. If true
, option selection on any of instances of given product will set that option
chosenProductId
chosenProductId:
Observable
<string
>
Id of product selected for adding
components
components:
Observable
<ProductListItem
[]>
List of components which can be used to build at current modular product
currentElement
currentElement:
Observable
<string
|string
[]>
Instance id (or ids if multiselect) of currently selected element
currentElementMetadata
currentElementMetadata:
Observable
<Nullable
<CurrentElementMetadata
>>
Additional information related to currently selected product
elementAction
elementAction:
Observable
<ElementAction
>
Currently active action data
elements
elements:
Observable
<any
>
List of elements currently added to the scene
favSceneShortcode
favSceneShortcode:
Observable
<string
>
ID of currently loaded Favourite Scene
freeSnapPoints
freeSnapPoints:
Observable
<FreeSnaps
>
Information about snapping points state
hasProducts
hasProducts:
Observable
<boolean
>
Information if there are any products on the scene.
isDimensionsActive
isDimensionsActive:
Observable
<boolean
>
If true, scene will display dimensions
productCategories
productCategories:
Observable
<ProductCategory
[]>
List of categories connected to components available at current modular product
sceneSetup
sceneSetup:
Observable
<SceneSetup
>
Scene setup options
showCollisionWarning
showCollisionWarning:
Observable
<boolean
>
If true, Collision Warning should be presented to user
slideIds
slideIds:
Observable
<ActiveSlides
>
Ids of elements with slide activated
toolbarData
toolbarData:
Observable
<Nullable
<ToolbarData
>>
Information about possible actions and names for currently selected models
variantCodes
variantCodes:
Observable
<VariantCodes
>
Map of instance id and variant codes for all elements on scene.