Roo/bootstrap/Button.js
[roojs1] / Roo / bootstrap / Button.js
index 4fa7eb7..4626b5d 100644 (file)
@@ -330,11 +330,18 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
     },
     setText : function(str)
     {
-        
+        this.el.select('.roo-button-text',true).first().dom.innerHTML = str;
+    },
+    hide: function() {
+       
+        this.el.hide();   
+    },
+    show: function() {
+       
+        this.el.show();   
     }
     
     
-    
 });
 
  
\ No newline at end of file