not have a label but normal HTML can added before or after it to add one.
Some of the key properties of this widget include:
• checked – The current checked state of the box.
The widget can publish events which can be handled:
• onChange – Called when the box changes state. The new checked state is passed as a
parameter to the event.
See also:
• dojox/mobile/Button
• dojox/mobile/RadioButton
• dojox/mobile/Switch
• dojox/mobile/ToggleButton
dojox/mobile/ComboBox
This widget provides the ability to select a pull-down of available items one of which can be
selected. In addition, it also allows for manual input of data. As data is entered, it is compared
against pre-supplied possibilities to provide an entry assist capability. It is vital to realize that the
value returned from this widget need not be one of the pre-supplied values. Any value entered by
the user will be allowed.
The values pre-defined for the widget can come from a variety of places including a Dojo store
object. In addition to the Dojo store, the dijit/form/DataList store made from <option>
tags can be used.
Some of the key properties of this widget include:
• store – A dojo store that contains the values.
• list – A dijit/form/DataList that contains the values to use.
• trim – Removes spaces from the start and end of the entered text.
• uppercase – Convert any entered text to upper case.
• lowercase – Convert any entered text to lower case.
• propercase – Convert any entered text to "propercase".
See also:
dojox/mobile/Container
This widget is simply an HTML <div> element wrapper. It can be used as a container for a
Page 234
Kommentare zu diesen Handbüchern