Roo/Toolbar.js
authorEdward <edward@roojs.com>
Tue, 19 May 2015 09:54:46 +0000 (17:54 +0800)
committerEdward <edward@roojs.com>
Tue, 19 May 2015 09:54:46 +0000 (17:54 +0800)
Roo/Toolbar.js

index d429219..ffb8fd0 100644 (file)
@@ -359,6 +359,15 @@ Roo.Toolbar.Item = function(el){
     this.el = Roo.getDom(el);
     this.id = Roo.id(this.el);
     this.hidden = false;
+    
+    this.addEvents({
+         /**
+            * @event render
+            * Fires when the button is rendered
+            * @param {Button} this
+            */
+        'render': true
+    });
 };
 
 Roo.Toolbar.Item.prototype = {