Rev | Line | |
---|
[483] | 1 | define([ |
---|
| 2 | "dojo/_base/declare", |
---|
| 3 | "dijit/form/_RadioButtonMixin", |
---|
| 4 | "./CheckBox" |
---|
| 5 | ], function(declare, RadioButtonMixin, CheckBox){ |
---|
| 6 | |
---|
| 7 | return declare("dojox.mobile.RadioButton", [CheckBox, RadioButtonMixin], { |
---|
| 8 | // summary: |
---|
| 9 | // A non-templated radio button widget that can be in two states (checked or not checked). |
---|
| 10 | |
---|
| 11 | // _setTypeAttr: [private] Function |
---|
| 12 | // Overrides the automatic assignment of type to nodes, because it causes |
---|
| 13 | // exception on IE. Instead, the type must be specified as this.type |
---|
| 14 | // when the node is created, as part of the original DOM. |
---|
| 15 | _setTypeAttr: null, |
---|
| 16 | |
---|
| 17 | // baseClass: String |
---|
| 18 | // The name of the CSS class of this widget. |
---|
| 19 | baseClass: "mblRadioButton" |
---|
| 20 | }); |
---|
| 21 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.