X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=docs%2Fsrc%2FRoo_Button.js.html;h=5b352c6d16e2777edd687b840cdcdc1a3d5955a9;hp=cb40668362026d16e90235c29751e01438155602;hb=60631959f66e1adbf90d18d52c732d0254d5098f;hpb=d682ff62edbcd68b736ad64826f1adb76c7e3887
diff --git a/docs/src/Roo_Button.js.html b/docs/src/Roo_Button.js.html
index cb40668362..5b352c6d16 100644
--- a/docs/src/Roo_Button.js.html
+++ b/docs/src/Roo_Button.js.html
@@ -369,6 +369,22 @@
this.hide();
}
},
+ setPressed : function(state)
+ {
+ if(state != this.pressed){
+ if(state){
+ this.el.addClass("x-btn-pressed");
+ this.pressed = true;
+ }else{
+ this.el.removeClass("x-btn-pressed");
+ this.pressed = false;
+ }
+ }
+ },