Releases: nakupanda/bootstrap3-dialog
v1.22 Released!
Improvements:
Button hotkey supported.
See example here: http://nakupanda.github.io/bootstrap3-dialog/#button-hotkey
v1.21 released
Improvements:
Methods .setTitle() and .setMessage() now will update the created contents in the dialog.
See http://nakupanda.github.io/bootstrap3-dialog/#manipulating-title-message
1.20
1, Buttons that created by BootstrapDialog now will have some extra functions applied, they are:
- $button.toggleEnable(true|false);
- $button.enable(); // Equals to $button.toggleEnable(true);
- $button.disable(); // Equals to $button.toggleEnable(false);
- $button.toggleSpin(true|false);
- $button.spin(); // Equals to $button.toggleSpin(true);
- $button.stopSpin(); // Equals to $button.toggleSpin(false);
See 'Manipulating Buttons' section in http://nakupanda.github.io/bootstrap3-dialog/ to see how these functions work.
2, Buttons are now traversable.
Previously we have to use dialog.getModalFooter().find('.btn') to get buttons in footer, now they will be all in dialog.indexedButtons.
An example of traversing dialog.indexedButtons:
$.each(dialog.indexedButtons, function(id, $button) {
$button.toggleEnable(false);
});
3, Other improvements that haven't been shown here and in the demo page.
v1.1 released
Fixed some small bugs.