Roo/bootstrap/Popover.js
authoredward <edward@roojs.com>
Fri, 7 Oct 2016 10:15:25 +0000 (18:15 +0800)
committeredward <edward@roojs.com>
Fri, 7 Oct 2016 10:15:25 +0000 (18:15 +0800)
Roo/bootstrap/Popover.js

index f18e8b5..fac41f9 100644 (file)
 
 Roo.bootstrap.Popover = function(config){
     Roo.bootstrap.Popover.superclass.constructor.call(this, config);
+    
+    this.addEvents({
+        // raw events
+         /**
+         * @event show
+         * After the popover show
+         * 
+         * @param {Roo.bootstrap.Popover} this
+         */
+        "show" : true,
+        /**
+         * @event hide
+         * After the popover hide
+         * 
+         * @param {Roo.bootstrap.Popover} this
+         */
+        "hide" : true
+    });
 };
 
 Roo.extend(Roo.bootstrap.Popover, Roo.bootstrap.Component,  {