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

12 lines
304 B
JavaScript
Raw Normal View History

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