Development tools : XUI Mobile editor : Adding Mobile widgets : XUI Mobile widgets : IconItem
  
IconItem
An IconItem widget is an item in the IconContainer widget. You can manually add the IconItem widget to the IconContainer widget by using the Items editor. You can tap the item to open a source connection or to move to a different view.
Derived base
dojox.mobile.IconItem
Properties
id
A unique ID string for the widget.
icon
An icon to be displayed on the widget.
label
The text to be displayed as the label of the widget.
moveTo
The id of the transition destination view.
transition
The animated transition effect for the widget.
transitionDir
1
This is the default value. Transition forward.
-1
Transition backward.
ECA editor support
Events that can be added to the IconItem widget with the ECA editor
onClick
This event is called when you tap the widget.
onTouchStart
This event is called when you touch the widget.
onOpen
This event is called when the source connection of the widget is opened.
onClose
This event is called when the source connection of the widget is closed.
Property that can be configured for the IconItem widget with the ECA editor
id
A unique ID string for the widget.
Applicable ECA part: Expression in Condition
Functions that can be configured for the IconItem widget with the ECA editor
set(name,value)
Set a value for a widget property.
Applicable ECA part: Actions
get(name)
Returns the value of a widget property.
Applicable ECA part: Expression in Condition
See also
XUI Mobile widgets