DojoMobileToolbarButton widget

A Dojo mobile toolbar button invokes an event handler in response to a user's click and provides more capabilities than the Dojo mobile button. The toolbar button is typically placed at the top view of a page.

Fields

actionView
The view that is displayed in response to the user's selection of the toolbar button.
imagePath
A string that represents either a fully qualified path to an image file or the class name of a DOM button.
selected
A boolean value that indicates whether the button is selected.
text
The text that is displayed on the button.
transition
A string that represents a style for transitioning to the view that is specified in the actionView field. The valid values are as follows:
  • slide (the default)
  • fade
  • flip
transitionDir
The transition direction; either 1 (for a forward transition, typically right to left) or -1 (for the reverse).

Example

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