Ext中的监听器和回调

时间:2014-03-25 03:49:29

标签: javascript extjs listeners

我是Ext的新手,我在Ext.onReady(...)

中看到了一些代码
tabItems.push({   
    id : 'schema-${form.schema.id}',
    title : '${form.description}',
    tabTip : '${form.description}',
    tooltipType: 'title',
    xtype : 'ttpanel',
    executeScripts : true,
    listeners : { load : initObjs, unload : unloadObjs, activate : ... },
    autoLoad : { url : 'selection.do',
            params : ...,
            scripts : true,
            callback : cb1
        }
    }
);

我的问题是:

  1. "load:initObjs"
  2. "callback:cb1"
  3. 页面呈现,用户可以操作它,
  4. 这三个中的哪一个先跑?为什么呢?

    万分感谢!

0 个答案:

没有答案
相关问题