CadConfigurationListItemElement
-
class
wvc.CadConfigurationListItemElement() A custom element representing an item in the CAD configuration list.
This component displays a CAD configuration with its active state and interactive controls. It does not have any dependency on the @ts3d-hoops/web-viewer Model class.
Examples
<hoops-cad-configuration-list-item cadConfigurationId="1" cadConfigurationName="Config A"></hoops-cad-configuration-list-item> <hoops-cad-configuration-list-item cadConfigurationId="2" cadConfigurationName="Config B" active></hoops-cad-configuration-list-item>
Custom Element
hoops-cad-configuration-list-itemAttributes
cadConfigurationId
The id of the CAD configuration in the modelcadConfigurationName
The name of the CAD configurationactive
Whether the CAD configuration is active or notSince
2025.8.0
Constructors
-
wvc.CadConfigurationListItemElement.constructor() - CadConfigurationListItemElement():
CadConfigurationListItemElementReturns:
CadConfigurationListItemElement
Properties
-
wvc.CadConfigurationListItemElement.active - active: boolean
Whether the CAD configuration is active or not.
-
wvc.CadConfigurationListItemElement.cadConfigurationId - cadConfigurationId: number
The id of the CAD configuration to render.
-
wvc.CadConfigurationListItemElement.cadConfigurationName - cadConfigurationName: string
The name of the CAD configuration to render.