X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/2e847cf21b8ab9d15fa167b315ca5b2fa92638fc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/js/PageHeader.js diff --git a/docs/js/PageHeader.js b/docs/js/PageHeader.js new file mode 100644 index 00000000..faf57955 --- /dev/null +++ b/docs/js/PageHeader.js @@ -0,0 +1,37 @@ +/** + * Renders class name and icon in page header. + */ +Ext.define('Docs.PageHeader', { + singleton: true, + + /** + * Renders class in header. + * @param {Object} docClass class configuration object. + */ + load: function(docClass) { + if (!this.tpl) { + this.tpl = new Ext.XTemplate( + '