1234567891011121314151617181920 |
- define("dojox/mobile/RadioButton", [
- "dojo/_base/declare",
- "dijit/form/_RadioButtonMixin",
- "./CheckBox"
- ], function(declare, RadioButtonMixin, CheckBox){
- /*=====
- CheckBox = dojox.mobile.CheckBox;
- RadioButtonMixin = dijit.form._RadioButtonMixin;
- =====*/
- return declare("dojox.mobile.RadioButton", [CheckBox, RadioButtonMixin], {
- // summary:
- // A non-templated radiobutton widget that can be in two states (checked or not).
- // Override automatic assigning type --> node, it causes exception on IE8.
- // Instead, type must be specified as this.type when the node is created, as part of the original DOM
- _setTypeAttr: null,
- baseClass: "mblRadioButton"
- });
- });
|