最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Where is the Ext JS 4 ux package - Stack Overflow

programmeradmin1浏览0评论

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
Add a ment  | 

1 Answer 1

Reset to default 7

Because Sencha considers them being "beta-code". Often code what was in ux will be included into main code branch in the following releases.

发布评论

评论列表(0)

  1. 暂无评论