.. role:: clio-optional
   :class: clio-flag clio-flag-optional


###########
ListElement
###########

.. js:class:: ui.list.ListElement

   Renders a selectable element row inside ``hoops-list``\ .
   
   
   Index
   =====
   
   .. rubric:: Constructors
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:func:`~ui.list.ListElement.constructor`
   
   .. rubric:: Properties
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:data:`~ui.list.ListElement.key`
   * :js:data:`~ui.list.ListElement.name`
   * :js:data:`~ui.list.ListElement.selected`
   * :js:data:`~ui.list.ListElement.list`
   
   



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

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


.. js:method:: ui.list.ListElement.constructor

      .. rst-class:: sig-pretty-signature
      
         | ListElement(): :js:class:`ListElement <ui.list.ListElement>`
      
      **Returns**\ : :js:class:`ListElement <ui.list.ListElement>`
      



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

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


.. js:data:: ui.list.ListElement.key

      .. rst-class:: sig-pretty-signature
      
         | key: *number*
      
      The id of the element in the list.
      



.. js:data:: ui.list.ListElement.name

      .. rst-class:: sig-pretty-signature
      
         | name: *string*
      
      The displayed name of the element in the list.
      



.. js:data:: ui.list.ListElement.selected

      .. rst-class:: sig-pretty-signature
      
         | selected: *boolean*
      
      Whether the element is selected or not
      



.. js:data:: ui.list.ListElement.list

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | list: :js:data:`ContextWrapper <ui.list.ContextWrapper>`
      
      The context of the hoops-list
      




