A Dojo mobile list item displays an item in a Dojo mobile
list.
Fields
- imagePath
- Path to an icon, relative to the Web content directory.
- text
- Text to display on the list item. If you set the children field,
the value of the text field is ignored.
- actionText
- Text to display on the right side of the list item.
- actionView
- View to show if the item is selected.
- actionTransition
- One of the following values:
- DojoMobileLib.TRANSITION_SLIDE (the default)
- DojoMobileLib.TRANSITION_FADE
- DojoMobileLib.TRANSITION_FLIP
- children
- A list of widgets to display in the list item. If you set this
value, the value of text is ignored.
Example
Use of this widget requires statement like this:
import dojo.mobile.widgets.DojoMobileListItem;