Roo/bootstrap/Button.js
authorAlan Knowles <alan@roojs.com>
Fri, 16 May 2014 04:52:44 +0000 (12:52 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 16 May 2014 04:52:44 +0000 (12:52 +0800)
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
     });
 };