X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/3789b528d8dd8aad4558e38e22d775bcab1cbd36..6746dc89c47ed01b165cc1152533605f97eb8e8d:/docs/app/view/cls/Container.js diff --git a/docs/app/view/cls/Container.js b/docs/app/view/cls/Container.js new file mode 100644 index 00000000..9ae3f205 --- /dev/null +++ b/docs/app/view/cls/Container.js @@ -0,0 +1,27 @@ +/** + * The class documentation page. Consists of the header (class name) and tab panel. + * TODO: Add framework version + */ +Ext.define('Docs.view.cls.Container', { + extend: 'Ext.container.Container', + alias: 'widget.classcontainer', + requires: [ + 'Docs.view.cls.Header', + 'Docs.view.cls.TabPanel' + ], + + layout: { + type: 'vbox', + align: 'stretch' + }, + + initComponent: function() { + this.items = [ + Ext.create('Docs.view.cls.Header'), + Ext.create('Docs.view.cls.TabPanel', { + flex: 1 + }) + ]; + this.callParent(arguments); + } +});