Roo/bootstrap/Button.js
[roojs1] / Roo / bootstrap / Button.js
index 4942c9b..1385b61 100644 (file)
@@ -40,10 +40,16 @@ Roo.bootstrap.Button = function(config){
         // raw events
         /**
          * @event click
-         * The raw click event for the entire grid.
+         * When a butotn is pressed
          * @param {Roo.EventObject} e
          */
-        "click" : true
+        "click" : true,
+         /**
+         * @event toggle
+         * After the button has been toggles
+         * @param {Roo.EventObject} e
+         */
+        "toggle" : true
     });
 };