温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

Ext.Function singleton

发布时间:2020-04-14 09:41:12 阅读:325 作者:jimode2013 栏目:开发技术

 Ext.Function  singleton

 
A collection of useful static methods to deal with function callbacks(处理函数回调的有用静态方法的集合)
 --------------------------------------------------------------------------------
alias( Object/Function object, String methodName ) : Function
Create 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 : String
Returns
    Function
    aliasFn(别名方法)
 
(function(){     Ext.onReady(function(){     var o = {       say : function(){         alert(111);       }         }        var fn = Ext.Function.alias(o,'say');        fn();     }); })(); 
 
 111
向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI