Roo/bootstrap/Modal.js
authorAlan Knowles <alan@roojs.com>
Fri, 7 Dec 2018 04:20:30 +0000 (12:20 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 7 Dec 2018 04:20:30 +0000 (12:20 +0800)
Roo/bootstrap/Modal.js

index 73b5cf3..32419be 100644 (file)
@@ -41,7 +41,14 @@ Roo.bootstrap.Modal = function(config){
          * @param {Roo.bootstrap.Modal} this
          * @param {Roo.EventObject} e
          */
-        "resize" : true
+        "resize" : true,
+         /**
+         * @event close
+         * Fire when the top 'x' close button is pressed.
+         * @param {Roo.bootstrap.Modal} this
+         * @param {Roo.EventObject} e
+         */
+        "resize" : true,
     });
     this.buttons = this.buttons || [];