1
0
mirror of https://github.com/nolanlawson/pinafore synced 2025-02-03 15:17:37 +01:00

11 lines
302 B
JavaScript
Raw Normal View History

2018-02-05 09:43:45 -08:00
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()
}