Roo/bootstrap/Body.js
authorEdward <edward@roojs.com>
Fri, 29 Aug 2014 03:06:40 +0000 (11:06 +0800)
committerEdward <edward@roojs.com>
Fri, 29 Aug 2014 03:06:40 +0000 (11:06 +0800)
Roo/bootstrap/Body.js

index 720b7ea..1ebc04b 100644 (file)
 
 Roo.bootstrap.Body = function(config){
     Roo.bootstrap.Body.superclass.constructor.call(this, config);
+    
+    this.addEvents({
+        // raw events
+        /**
+         * @event resize
+         * When window resize
+         * @param {Roo.EventObject} e
+         */
+        "resize" : true
+    });
+    
     this.el = Roo.get(document.body);
     if (this.cls && this.cls.length) {
         Roo.get(document.body).addClass(this.cls);