16 lines
No EOL
943 B
HTML
16 lines
No EOL
943 B
HTML
<html><head><title>Radio.js</title><link rel="stylesheet" type="text/css" href="../resources/style.css" media="screen"/></head><body><h1>Radio.js</h1><pre class="highlighted"><code><i>/**
|
|
* @class Ext.form.Radio
|
|
* @extends Ext.form.Checkbox
|
|
* Single radio field. Same as Checkbox, but provided as a convenience <b>for</b> automatically setting the input type.
|
|
* Radio grouping is handled automatically by the browser <b>if</b> you give each radio <b>in</b> a group the same name.
|
|
* @constructor
|
|
* Creates a <b>new</b> Radio
|
|
* @param {Object} config Configuration options
|
|
*/</i>
|
|
Ext.form.Radio = <b>function</b>(){
|
|
Ext.form.Radio.superclass.constructor.apply(<b>this</b>, arguments);
|
|
};
|
|
Ext.extend(Ext.form.Radio, Ext.form.Checkbox, {
|
|
inputType: 'radio'
|
|
});</code></pre><hr><div style="font-size:10px;text-align:center;color:gray;">Ext - Copyright © 2006-2007 Ext JS, LLC<br />All rights reserved.</div>
|
|
</body></html> |