22 lines
691 B
JavaScript
22 lines
691 B
JavaScript
//>>built
|
|
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"
|
|
});
|
|
});
|