2018-02-05 17:43:45 +00:00
|
|
|
import ConfirmationDialog from './ConfirmationDialog.html'
|
|
|
|
|
2018-02-09 06:29:29 +00:00
|
|
|
export function showConfirmationDialog (options) {
|
2018-02-05 17:43:45 +00:00
|
|
|
let dialog = new ConfirmationDialog({
|
|
|
|
target: document.getElementById('modal-dialog'),
|
|
|
|
data: Object.assign({
|
|
|
|
label: 'Confirmation dialog'
|
|
|
|
}, options)
|
|
|
|
})
|
|
|
|
dialog.show()
|
2018-02-09 06:29:29 +00:00
|
|
|
}
|