Listitem

Introduction

A listitem is one entry in a listbox. Listitems are useful when mocking up a UI where you want listboxes to have some default data, but for most cases these will be automatically generated though binding a collection to a listbox's "elements" property (see Listbox).

Properties

Property

Fires Events

Possible Values

Notes

label (String)

No

 

 

value (Object)

No

 

 

selected (bool)

No

 

 

Methods

None.

Sample Usage

<listbox>
  <listitem label="Item 1" value="1"/>
  <listitem label="Item 2" value="2"/>
  <listitem label="Item 3" value="3"/>
</listbox>