Roo/bootstrap/layout/Basic.js
authoredward <edward@roojs.com>
Thu, 7 Jun 2018 05:20:27 +0000 (13:20 +0800)
committeredward <edward@roojs.com>
Thu, 7 Jun 2018 05:20:27 +0000 (13:20 +0800)
Roo/bootstrap/layout/Basic.js

index ecdf575..fa14a3b 100644 (file)
@@ -112,7 +112,14 @@ Roo.bootstrap.layout.Basic = function(config){
          * @param {Roo.LayoutRegion} this
          * @param {Number} newSize The new size (width for east/west, height for north/south)
          */
-        "resized" : true
+        "resized" : true,
+        /**
+         * @event beforetabclick
+         * Fires when a tab item is clicked. 
+         * @param {Roo.LayoutRegion} this
+         * @param {Roo.ContentPanel} panel The activated panel
+         */
+        "beforetabclick" : true
     };
     /** A collection of panels in this region. @type Roo.util.MixedCollection */
     this.panels = new Roo.util.MixedCollection();