DojoMobileList widget

A Dojo mobile list embeds a set of list categories and list items.

Fields

style
A string that represents the display characteristic of each list item. One of the following values:
  • DojoMobileLib.LIST_STYLE_ROUNDED_RECTANGLE (the default), for a rounded rectangle.
  • DojoMobileLib.LIST_STYLE_EDGE_TO_EDGE, for a non-rounded rectangle.

You can set this value in the widget declaration and in the on-construction function. At run time, subsequent changes to the value have no effect.

children
A list of child widgets, each of which must be of type DojoMobileListItem or DojoMobileListCategory.

Example

Use of this widget requires a statement like this:
import dojo.mobile.widgets.DojoMobileList;