Files
svgedit/src/editor/dialogs/seAlertDialog.js

11 lines
226 B
JavaScript

import SePlainAlertDialog from './SePlainAlertDialog.js'
const seAlert = (text) => {
const dialog = new SePlainAlertDialog()
dialog.textContent = text
dialog.choices = ['Ok']
dialog.open()
}
window.seAlert = seAlert