23 lines
No EOL
682 B
JavaScript
23 lines
No EOL
682 B
JavaScript
/*
|
|
* Ext JS Library 1.0.1
|
|
* Copyright(c) 2006-2007, Ext JS, LLC.
|
|
* licensing@extjs.com
|
|
*
|
|
* http://www.extjs.com/license
|
|
*/
|
|
|
|
/**
|
|
* @class Ext.form.Radio
|
|
* @extends Ext.form.Checkbox
|
|
* Single radio field. Same as Checkbox, but provided as a convenience for automatically setting the input type.
|
|
* Radio grouping is handled automatically by the browser if you give each radio in a group the same name.
|
|
* @constructor
|
|
* Creates a new Radio
|
|
* @param {Object} config Configuration options
|
|
*/
|
|
Ext.form.Radio = function(){
|
|
Ext.form.Radio.superclass.constructor.apply(this, arguments);
|
|
};
|
|
Ext.extend(Ext.form.Radio, Ext.form.Checkbox, {
|
|
inputType: 'radio'
|
|
}); |