Ext.Function singleton

发布时间:2020-04-14 09:41:12 作者:jimode2013
来源:网络 阅读:291

 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(别名方法)
 
  1. (function(){ 
  2.     Ext.onReady(function(){ 
  3.     var o = { 
  4.       say : function(){ 
  5.         alert(111); 
  6.       } 
  7.         } 
  8.        var fn = Ext.Function.alias(o,'say'); 
  9.        fn(); 
  10.     }); 
  11. })(); 
 
 111
推荐阅读:
  1. 基本命令与文档结构
  2. ssdb操作文档

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

文档 extjs4 ext.function

上一篇:PHP 5.6.15 编译安装

下一篇:IOS JS 交互

相关阅读

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

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