admin管理员组文章数量:1356304
I'm learning ExtJS 4 and I just figured out how to center containers/panels. In order to do this I needed to add the following at the top of my my app.js
Ext.Loader.setPath('Ext.ux', 'extjs/examples/ux');
Ext.require('Ext.ux.layout.Center');
The ux folder is in the example folder that came with ExtJS 4, I'm wondering why this package and some others are in the examples folder rather than being in the src folder with the rest of the framework.
I'm learning ExtJS 4 and I just figured out how to center containers/panels. In order to do this I needed to add the following at the top of my my app.js
Ext.Loader.setPath('Ext.ux', 'extjs/examples/ux');
Ext.require('Ext.ux.layout.Center');
The ux folder is in the example folder that came with ExtJS 4, I'm wondering why this package and some others are in the examples folder rather than being in the src folder with the rest of the framework.
Share Improve this question asked Mar 14, 2012 at 22:21 Adam LangsnerAdam Langsner 1,2861 gold badge16 silver badges25 bronze badges 1- 1 I, too, find this odd. – mustafa.0x Commented Feb 13, 2014 at 13:04
1 Answer
Reset to default 7Because Sencha considers them being "beta-code". Often code what was in ux
will be included into main code branch in the following releases.
本文标签: javascriptWhere is the Ext JS 4 ux packageStack Overflow
版权声明:本文标题:javascript - Where is the Ext JS 4 ux package - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1744017695a2576635.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论