Closed volpino closed 11 years ago
This may be very useful
Sent from my iPhone
On 01/ott/2012, at 10:30, Federico Scrinzi notifications@github.com wrote:
It would be nice to expose a method to change the button state
e.g.: $("#checkbox").toggleButtons("set", true)
— Reply to this email directly or view it on GitHubhttps://github.com/nostalgiaz/bootstrap-toggle-buttons/issues/21.
+1
+1 and
It would be nice to have it in the initialization states: { ... enabled: true // or false }
:+1: need this too.
+1
I did it! I sent a pull request to add my changes. I'm sorry if I've gone about this the wrong way; it's my first time contributing to open source.
Done :)
This is an example of the code: $('#toggle-state-toggle-button').toggleButtons('setState', false); // true || false
It would be nice to expose a method to change the button state
e.g.:
$("#checkbox").toggleButtons("set", true)