trentrichardson/jQuery-Impromptu — pull request #3 by calumbrodie (2012-03-14 07:36:12+00:00)
Title: Can pass classes to buttons to assist with styling

Hi,

I've added the ability to pass an array of 'classes' alongside a button to be used to style the button. This is helpful for using improptu within another css framework (like so http://twitter.github.com/bootstrap/components.html) and having everything themed consistently.

You would pass your buttons in the same way as in example 18 on your demo page...

buttons:[
{title: 'Hello World',value:true, classes: ['button', 'icon', 'confirm', 'primary']},
{title: 'Good Bye',value:false, , classes: ['button', 'secondary', 'warning']}
],