-
11 Apr 2011 2:22 PM #1
[FIXED]Ext.panel.Panel tools property documentation missing
[FIXED]Ext.panel.Panel tools property documentation missing
The EXTJS 4.0 beta 2 API documentation is missing a description for Ext.panel.Panel.tools. The source code of initTool indicate that the tools property still exists but no documentation exists for it.
Code:/** * @private * Tools are a Panel-specific capabilty. * Panel uses initTools. Subclasses may contribute tools by implementing addTools. */ initTools: function() { var me = this; me.tools = me.tools || []; //<------- do documentation exists for me.tools // Add a collapse tool unless configured to not show a collapse tool // or to not even show a header. if (me.collapsible && !(me.hideCollapseTool || me.header === false)) { me.collapseDirection = me.collapseDirection || me.headerPosition || 'top'; me.collapseTool = me.expandTool = me.createComponent({ xtype: 'tool', type: 'collapse-' + me.collapseDirection, expandType: me.getOppositeDirection(me.collapseDirection), handler: me.toggleCollapse, scope: me }); // Prepend collapse tool is configured to do so. if (me.collapseFirst) { me.tools.unshift(me.collapseTool); } } // Add subclass-specific tools. this.addTools(); // Make Panel closable. if (this.closable) { this.addCls(this.baseCls + '-closable'); this.addTool({ type: 'close', handler: Ext.Function.bind(this.close, this, []) }); } // Append collapse tool if needed. if (me.collapseTool && !me.collapseFirst) { me.tools.push(me.collapseTool); } },
Thank you for reporting this bug. We will make it our priority to review this report.
Similar Threads
-
[FIXED-1400] 20 out of 24 panel.tools described
By johnrembo in forum Ext 3.x: BugsReplies: 1Last Post: 10 Nov 2010, 2:00 PM -
Panel height property is missing.
By fermina in forum Sencha Touch 1.x: DiscussionReplies: 4Last Post: 10 Sep 2010, 6:31 PM -
[FIXED] Panel getDockedItems documentation says returns void, not array
By meyerovb in forum Sencha Touch 1.x: BugsReplies: 1Last Post: 10 Aug 2010, 3:10 PM -
[FIXED-448][2.1+,3.x] Ext.Panel.tools align config option
By Condor in forum Ext 3.x: BugsReplies: 4Last Post: 19 Jan 2010, 5:59 AM -
Panel in viewport means no panel tools?
By masuran in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 7 Oct 2008, 9:27 AM


Reply With Quote