twitter/bootstrap — pull request #2683 by rafaelks (2012-03-19 17:39:41+00:00)
Title: Call trigger "toggled" when some button on button-bar was clicked

Just call a trigger called "toggled" when a button in the button-bar is toggled.

To listen the trigger, just have to do it:

$(%button%).bind("toggled", function() {
// YOUR CODE
});