source: Dev/branches/rest-dojo-ui/client/dojox/mobile/RadioButton.js @ 256

Last change on this file since 256 was 256, checked in by hendrikvanantwerpen, 13 years ago

Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).

File size: 653 bytes
Line 
1define([
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
14                // Override automatic assigning type --> node, it causes exception on IE8.
15                // Instead, type must be specified as this.type when the node is created, as part of the original DOM
16                _setTypeAttr: null,
17
18                baseClass: "mblRadioButton"
19        });
20});
Note: See TracBrowser for help on using the repository browser.