
###################
TypeTreeNodeElement
###################

.. js: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.
   
   .. rubric:: Examples
   
   
   .. code-block:: html
   
      <hoops-types-tree-node nodeId="1" nodeName="Type A"></hoops-types-tree-node>
   
   .. rubric:: Custom Element
   
   
   ``hoops-types-tree-node``
   
   .. rubric:: Attributes
   
   
   **nodeId**
   
   
      The id of the node in the model
   
   
   **nodeName**
   
   
      The name of the node
   
   
   .. rubric:: Since
   
   
   ``2025.8.0``
   
   
   Index
   =====
   
   .. rubric:: Constructors
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:func:`~wvc.TypeTreeNodeElement.constructor`
   
   .. rubric:: Properties
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:data:`~wvc.TypeTreeNodeElement.modelNodeId`
   * :js:data:`~wvc.TypeTreeNodeElement.modelNodes`
   * :js:data:`~wvc.TypeTreeNodeElement.nodeId`
   * :js:data:`~wvc.TypeTreeNodeElement.nodeName`
   * :js:data:`~wvc.TypeTreeNodeElement.visibility`
   
   .. rubric:: Methods
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:meth:`~wvc.TypeTreeNodeElement.isTypeNode`
   
   



.. rst-class:: kind-group kind-constructors

.. rubric:: Constructors
   :class: kind-group-title


.. js:method:: wvc.TypeTreeNodeElement.constructor

      .. rst-class:: sig-pretty-signature
      
         | TypeTreeNodeElement(): :js:class:`TypeTreeNodeElement <wvc.TypeTreeNodeElement>`
      
      **Returns**\ : :js:class:`TypeTreeNodeElement <wvc.TypeTreeNodeElement>`
      



.. rst-class:: kind-group kind-properties

.. rubric:: Properties
   :class: kind-group-title


.. js:data:: wvc.TypeTreeNodeElement.modelNodeId

      .. rst-class:: sig-pretty-signature
      
         | modelNodeId: *number*
      
      The id of the node represented by this element
      



.. js:data:: wvc.TypeTreeNodeElement.modelNodes

      .. rst-class:: sig-pretty-signature
      
         | modelNodes: *number*\ []
      
      The nodes associated with this type node
      



.. js:data:: wvc.TypeTreeNodeElement.nodeId

      .. rst-class:: sig-pretty-signature
      
         | nodeId: *number*
      
      The tree id of the node for UI purposes (not related to the model)
      



.. js:data:: wvc.TypeTreeNodeElement.nodeName

      .. rst-class:: sig-pretty-signature
      
         | nodeName: *string*
      
      The name of the node
      



.. js:data:: wvc.TypeTreeNodeElement.visibility

      .. rst-class:: sig-pretty-signature
      
         | 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.
      



.. rst-class:: kind-group kind-methods

.. rubric:: Methods
   :class: kind-group-title


.. js:method:: wvc.TypeTreeNodeElement.isTypeNode

      .. rst-class:: sig-pretty-signature
      
         | isTypeNode(): *boolean*
      
      **Returns**\ : *boolean*
      




