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


###########
ListContext
###########

.. js:class:: ui.list.ListContext

   This interface represent the context of the list. It contains all the necessary data for the list to display.
   
   
   Index
   =====
   
   .. rubric:: Properties
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:data:`~ui.list.ListContext.sortedByValue`
   * :js:data:`~ui.list.ListContext.elementsData`
   
   .. rubric:: Methods
   
   
   .. rst-class:: api-xref-list
   
   
   * :js:meth:`~ui.list.ListContext.getContent`
   
   



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

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


.. js:data:: ui.list.ListContext.sortedByValue

      .. rst-class:: sig-pretty-signature
      
         | sortedByValue: *boolean*
      



.. js:data:: ui.list.ListContext.elementsData

      .. rst-class:: clio-flags
      
         :clio-optional:`optional`
      
      .. rst-class:: sig-pretty-signature
      
         | elementsData: *Map*
      



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

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


.. js:method:: ui.list.ListContext.getContent

      .. rst-class:: sig-pretty-signature
      
         | getContent(**context**\ : :js:class:`ListContext <ui.list.ListContext>`\ , **key**\ : *number*\ , **selected**\ : *boolean*\ ): (*HTMLTemplateResult* | Unhandled type TypeOf)
      
      **Parameters**
      
      
         **context**\ : :js:class:`ListContext <ui.list.ListContext>`
      
         **key**\ : *number*
      
         **selected**\ : *boolean*
      
      
      **Returns**\ : (*HTMLTemplateResult* \| Unhandled type TypeOf)
      




