dojox
Version:
Dojo eXtensions, a rollup of many useful sub-projects and varying states of maturity – from very stable and robust, to alpha and experimental. See individual projects contain README files for details.
22 lines (18 loc) • 697 B
JavaScript
define([
"dojo/_base/declare",
"dijit/form/_RadioButtonMixin",
"./CheckBox"
], function(declare, RadioButtonMixin, CheckBox){
return declare("dojox.mobile.RadioButton", [CheckBox, RadioButtonMixin], {
// summary:
// A non-templated radio button widget that can be in two states (checked or not checked).
// _setTypeAttr: [private] Function
// Overrides the automatic assignment of type to nodes, because it causes
// exception on IE. Instead, the type must be specified as this.type
// when the node is created, as part of the original DOM.
_setTypeAttr: null,
// baseClass: String
// The name of the CSS class of this widget.
baseClass: "mblRadioButton"
});
});