1
0
mirror of https://github.com/nolanlawson/pinafore synced 2025-01-25 13:09:19 +01:00
2018-02-08 22:29:29 -08:00

12 lines
304 B
JavaScript

import ConfirmationDialog from './ConfirmationDialog.html'
export function showConfirmationDialog (options) {
let dialog = new ConfirmationDialog({
target: document.getElementById('modal-dialog'),
data: Object.assign({
label: 'Confirmation dialog'
}, options)
})
dialog.show()
}