日期:2014-05-16  浏览次数:20432 次

extjs xtype wallpaper ?

xtype 的资料,百度一下,基本上都是component中的对照。

?

xtype:'wallpaper' ,比如:extjs 4的desktop例子中,怎么理解 xtype:‘wallpaper'

?

Ext.widget API说明如下:

Convenient shorthand to create a widget by its xtype, also see? Ext.ClassManager.instantiateByAlias

?

Instantiate a class by its alias

?

配合alias:'widget.wallpaper' -->(Ext.ux.desktop.Wallpaper)可以理解xtype:'wallpaper'

上面有点写的有点乱

?

?

关键在于: xtype alias 和 Ext.widget

?

?

?