Skip to content

v1.26 Released!

Compare
Choose a tag to compare
@nakupanda nakupanda released this 09 Apr 03:18
· 210 commits to master since this release

Change logs:

1, New option 'nl2br'

Setting option 'nl2br' to true to enable auto line breaking.

Default value is true, set it to false when necessary.

2, Footer will be hidden if there is no button to display.

If you still need modal footer displayed you can call dialog.getModalFooter().show() at appropriate time, for example after dialog has realized.

3, Default options are configurable.

If you want all dialogs has some same settings you can try:

BootstrapDialog.configDefaultOptions({
type: BootstrapDialog.TYPE_PRIMARY,
title: 'Hello Monkey!',
..... // Other available options.
});