ListSelector Component Reference

Table of Contents


Introduction

Syntax

tml`
	<ListSelector />
`

The ListSelector component is a Selector component that renders a <ul> with a list of selectable items. The items may have one level of sub-items, in which case the list expands to show the sub-items when selected ("accordions"). Only one group of sub-tiem can be expanded at one time. If another group is selected, the previous one collapses.

If the ListSelector component has a timeout attribute, an expanded group will automatically collapse after the specified amount of time.

Attributes

Instance methods

These methods are intended to be used by parent components to dynamically change the properties of the rendered components without re-rendering.

Inherited methods


setValue()

Syntax

setValue(value)

Sets the rendered element's value.

Parameters


Children

The ListSelector component ignores any children.

DOM element properties