TypeTreeNodeElement
-
class
wvc.TypeTreeNodeElement() A custom element representing a node in the types tree.
This component displays a type tree node with its properties and interactive controls. It does not have any dependency on the @ts3d-hoops/web-viewer Model class.
Examples
<hoops-types-tree-node nodeId="1" nodeName="Type A"></hoops-types-tree-node>
Custom Element
hoops-types-tree-nodeAttributes
nodeId
The id of the node in the modelnodeName
The name of the nodeSince
2025.8.0
Constructors
-
wvc.TypeTreeNodeElement.constructor() - TypeTreeNodeElement():
TypeTreeNodeElementReturns:
TypeTreeNodeElement
Properties
-
wvc.TypeTreeNodeElement.modelNodeId - modelNodeId: number
The id of the node represented by this element
-
wvc.TypeTreeNodeElement.modelNodes - modelNodes: number[]
The nodes associated with this type node
-
wvc.TypeTreeNodeElement.nodeId - nodeId: number
The tree id of the node for UI purposes (not related to the model)
-
wvc.TypeTreeNodeElement.nodeName - nodeName: string
The name of the node
-
wvc.TypeTreeNodeElement.visibility - visibility: BranchVisibility
The visibility attribute represents the visibility of the node in the viewer. It may be one of the following three states:
Shown- The node and all of its children are visible.Hidden- The node and all of its children are hidden.Mixed- The node is visible, but some of its children are not visible.
Methods
-
wvc.TypeTreeNodeElement.isTypeNode() - isTypeNode(): boolean
Returns: boolean