EXTJS on事件

http://www.iteye.com/problems/59467

on( String eventName, Function handler, [Object scope], [Object options] ) : void
给对象添加事件处理器 (addListener的简写形式)
给对象添加事件处理器 (addListener的简写形式。)
参数:

eventName : String
监听的事件类型
handler : Function
事件调用的方法
scope : Object
(可选)处理方法执行时的作用域 (this 的引用)。 如果被忽略。默认为触发事件的对象。
options : Object
可选 包含处理器配置的对象。

on( String eventName , Function handler , [Object scope] , Object options ) : void

eventName : String
事件名称The type of event to listen for
handler : Function
处理函数The method the event invokes
scope : Object
执行处理函数的作用域。“this”对象指针(optional) The scope in which to execute the handler function. The handler function's "this" context.
options : Object
(可选的)(optional) @method

原文地址:https://www.cnblogs.com/givemeanorange/p/5487058.html