From d3e8d2faf94c1854c37fc9de26fff3bdc77d0a10 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 16 May 2014 12:52:44 +0800 Subject: [PATCH] Roo/bootstrap/Button.js --- Roo/bootstrap/Button.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Roo/bootstrap/Button.js b/Roo/bootstrap/Button.js index 4942c9b2c9..1385b61f2a 100644 --- a/Roo/bootstrap/Button.js +++ b/Roo/bootstrap/Button.js @@ -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 }); }; -- 2.39.2