使用别名机制,一是可以解决引入名过长的问题,二是可以使用xtype类型。

 

代码


Language: JavaScript

Framework: ExtJS 4.1.1a

IDE: Excplise J2EE + Spket

'Customer.support.SupportMessage', {
'Ext.panel.Panel',
'widget.supportMessage',
'Customer Support',
'Customer support is online'
   6:         });
   7:  
   8: Ext.application({
'Customer',
function() {
'Ext.container.Viewport', {
'fit',
  13:                             items : [{
'supportMessage'
  15:                                     }]
  16:                         });
  17:             }
  18:         });

相关文章:

  • 2022-01-30
  • 2022-12-23
  • 2021-07-03
  • 2021-10-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-01
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-03
相关资源
相似解决方案