projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0794b7
)
Roo/bootstrap/Body.js
author
Edward
<edward@roojs.com>
Fri, 29 Aug 2014 03:06:40 +0000
(11:06 +0800)
committer
Edward
<edward@roojs.com>
Fri, 29 Aug 2014 03:06:40 +0000
(11:06 +0800)
Roo/bootstrap/Body.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Body.js
b/Roo/bootstrap/Body.js
index
720b7ea
..
1ebc04b
100644
(file)
--- a/
Roo/bootstrap/Body.js
+++ b/
Roo/bootstrap/Body.js
@@
-17,6
+17,17
@@
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);