function中的ev和target参数分别代表什么意思

刚开始学Ext,请指教

Ext.onReady(function(){
var onClick = function(ev, target){//......
alert(this.someProperty); // 这里将显示'someValue'
alert(target.id); // 这里将显示'somelink'
};

        var scope = {
            someProperty : 'someValue'
        }

        var el = Ext.get('somelink');
        el.on('click', onClick, scope);

    });

三个参数 事件对象(EventObject ),目标对象(target),事件参数(opt)

事件参数也就是你监听事件时候传递的参数。也就是下面代码的opt对象,默认是{}对象
el.on('click', onClick, scope,opt);

ev 代表 ext 里面 EventObject 事件对象。
target 代表事件的目标对象。也就是id为somelink的document对象
this 对表scope 变量。