我有一个简单的 RadioGroup 类:
TestRadioGroup = Ext.extend (Ext.form.RadioGroup, { fieldLabel:'测试', 听众:{ 更改:函数(el,val){ 警报(val); } }, 构造函数:函数(配置){ 这个.items = []; this.items.push ( {boxLabel: 'Test1', name: 'test', inputValue: 2 } ); this.items.push ( {boxLabel: 'Test2', name: 'test', inputValue: 1 } ); this.items.push ( {boxLabel: 'Test',name: 'test', inputValue: 0 } ); // fireEvent('改变') TestRadioGroup.superclass.constructor.call(this); } });
我想要
火灾事件('改变')对于项目这个 inputValue 1. 怎么做?