Sha256: 65a15fd0e3cca288def2cfc51f7d793e7802c45abea234711c87ca4a4bcf7bec
Contents?: true
Size: 744 Bytes
Versions: 4
Compression:
Stored size: 744 Bytes
Contents
Ext.ns('Rwiki.TabPanel'); Rwiki.TabPanel.PageTab = Ext.extend(Ext.Container, { constructor: function() { Ext.apply(this, { closable: true, cls: 'page-container', iconCls: 'icon-page' }); Rwiki.TabPanel.PageTab.superclass.constructor.apply(this, arguments); }, getPagePath: function() { return this.path; }, setPagePath: function(path) { this.path = path; }, /** * Update the page content. */ setContent: function(htmlContent) { pageContainer = this.getPageContainer(); pageContainer.html(htmlContent); }, getPageContainer: function() { return $('#' + this.id); }, setTitle: function(title) { $(this.tabEl).find('.x-tab-strip-text').text(title); } });
Version data entries
4 entries across 4 versions & 1 rubygems