Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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>
  • No labels