Skip to content

Releases: nakupanda/bootstrap3-dialog

v1.22 Released!

11 Feb 07:12
Compare
Choose a tag to compare

Improvements:

Button hotkey supported.
See example here: http://nakupanda.github.io/bootstrap3-dialog/#button-hotkey

v1.21 released

07 Feb 08:01
Compare
Choose a tag to compare

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

29 Jan 07:28
Compare
Choose a tag to compare

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

23 Dec 05:45
Compare
Choose a tag to compare

Fixed some small bugs.