RadioButton.js 681 B

1234567891011121314151617181920
  1. define("dojox/mobile/RadioButton", [
  2. "dojo/_base/declare",
  3. "dijit/form/_RadioButtonMixin",
  4. "./CheckBox"
  5. ], function(declare, RadioButtonMixin, CheckBox){
  6. /*=====
  7. CheckBox = dojox.mobile.CheckBox;
  8. RadioButtonMixin = dijit.form._RadioButtonMixin;
  9. =====*/
  10. return declare("dojox.mobile.RadioButton", [CheckBox, RadioButtonMixin], {
  11. // summary:
  12. // A non-templated radiobutton widget that can be in two states (checked or not).
  13. // Override automatic assigning type --> node, it causes exception on IE8.
  14. // Instead, type must be specified as this.type when the node is created, as part of the original DOM
  15. _setTypeAttr: null,
  16. baseClass: "mblRadioButton"
  17. });
  18. });