DojoMobileToolBarButton

The DojoMobileToolBarButton widget is a button that is placed in the header of the DojoMobileView widget. It can only live as a child of DojoMobileView's toolbar property.

Properties

text
The text label for the ToolbarButton
imagePath
An icon that displays on the left of the item. The value can be either a path for an image file or a class name of a Dojo DOM button.
transition
The animation style when changing to another view. The values can be DojoMobileLib.TRANSITION_SLIDE , DojoMobileLib.TRANSITION_FADE, and DojoMobileLib.TRANSITION_FLIP. The default setting is DojoMobileLib.TRANSITION_SLIDE.
transitionDir
The transition direction. The values can be DojoMobileLib.TRANSACTION_DIR_FORWARD and DojoMobileLib.TRANSACTION_DIR_BACKWARD.
selected
Indicates whether the toolBarButton is in the selected status.

Events

onClick
Specifies an event that occurs when the icon is clicked.

Feedback