projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9804489
)
Roo/bootstrap/Img.js
author
Edward
<edward@roojs.com>
Fri, 21 Mar 2014 05:07:35 +0000
(13:07 +0800)
committer
Edward
<edward@roojs.com>
Fri, 21 Mar 2014 05:07:35 +0000
(13:07 +0800)
Roo/bootstrap/Img.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Img.js
b/Roo/bootstrap/Img.js
index
c5066d1
..
c3b41c7
100644
(file)
--- a/
Roo/bootstrap/Img.js
+++ b/
Roo/bootstrap/Img.js
@@
-22,6
+22,16
@@
Roo.bootstrap.Img = function(config){
Roo.bootstrap.Img.superclass.constructor.call(this, config);
+
+ this.addEvents({
+ // img events
+ /**
+ * @event click
+ * The img click event for the img.
+ * @param {Roo.EventObject} e
+ */
+ "click" : true
+ });
};
Roo.extend(Roo.bootstrap.Img, Roo.bootstrap.Component, {