projects
/
roojs1
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ea7705
)
Roo/bootstrap/Component.js
author
Alan Knowles
<alan@roojs.com>
Wed, 2 Dec 2015 02:55:28 +0000
(10:55 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 2 Dec 2015 02:55:28 +0000
(10:55 +0800)
Roo/bootstrap/Component.js
patch
|
blob
|
history
diff --git
a/Roo/bootstrap/Component.js
b/Roo/bootstrap/Component.js
index
cbdcdb7
..
a37a524
100644
(file)
--- a/
Roo/bootstrap/Component.js
+++ b/
Roo/bootstrap/Component.js
@@
-341,11
+341,16
@@
Roo.extend(Roo.bootstrap.Component, Roo.BoxComponent, {
return cn;
},
-
+ /**
+ * Show a component - removes 'hidden' class
+ */
show : function()
{
this.el.removeClass('hidden');
},
+ /**
+ * Hide a component - adds 'hidden' class
+ */
hide: function()
{
if (!this.el.hasClass('hidden')) {