Ext.Function singleton
Ext.Function singleton
A collection of useful static methods to deal with function callbacks(处理函数回调的有用静态方法的集合)--------------------------------------------------------------------------------alias( Object/Function object, String methodName ) : FunctionCreate an alias to the provided method property with name methodName of object.(创建对象的methodName方法属性的别名) Note that the execution scope will still be bound to the provided object itself.(注意执行的范围仍然是绑定到提供的对象本身。)Parameters object : Object/Function methodName : StringReturns Function aliasFn(别名方法)(function(){Ext.onReady(function(){varo={say:function(){alert(111);}}varfn=Ext.Function.alias(o,'say');fn();});})();111
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。