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-item

Attributes

cadConfigurationId

The id of the CAD configuration in the model

cadConfigurationName

The name of the CAD configuration

active

Whether the CAD configuration is active or not

Since

2025.8.0

Constructors

wvc.CadConfigurationListItemElement.constructor()
CadConfigurationListItemElement(): CadConfigurationListItemElement

Returns: 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.