projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8ce0ebb
)
Roo.ContentPanel add @event 'render', fired after rendering of content panel
author
Alan Knowles
<alan@akbkhome.com>
Tue, 16 Aug 2011 11:22:10 +0000
(11:22 +0000)
committer
Alan Knowles
<alan@akbkhome.com>
Wed, 7 Sep 2011 02:36:44 +0000
(10:36 +0800)
Roo/ContentPanel.js
patch
|
blob
|
history
diff --git
a/Roo/ContentPanel.js
b/Roo/ContentPanel.js
index
a5dc852
..
264befb
100644
(file)
--- a/
Roo/ContentPanel.js
+++ b/
Roo/ContentPanel.js
@@
-107,7
+107,17
@@
Roo.ContentPanel = function(el, config, content){
* @param {Number} width The width after any component adjustments
* @param {Number} height The height after any component adjustments
*/
* @param {Number} width The width after any component adjustments
* @param {Number} height The height after any component adjustments
*/
- "resize" : true
+ "resize" : true,
+
+ /**
+ * @event render
+ * Fires when this tab is created
+ * @param {Roo.ContentPanel} this
+ */
+ "render" : true
+
+
+
});
if(this.autoScroll){
this.resizeEl.setStyle("overflow", "auto");
});
if(this.autoScroll){
this.resizeEl.setStyle("overflow", "auto");
@@
-129,6
+139,8
@@
Roo.ContentPanel = function(el, config, content){
Roo.ContentPanel.superclass.constructor.call(this);
Roo.ContentPanel.superclass.constructor.call(this);
+
+ this.fireEvent('render', this);
};
Roo.extend(Roo.ContentPanel, Roo.util.Observable, {
};
Roo.extend(Roo.ContentPanel, Roo.util.Observable, {