Files
svgedit/src/editor/dialogs/seAlertDialog.js
2020-12-30 17:23:14 +01:00

12 lines
275 B
JavaScript

// eslint-disable-next-line node/no-unpublished-import
import AlertDialog from 'elix/define/AlertDialog.js';
const dialog = new AlertDialog();
const seAlert = (text) => {
dialog.textContent = text;
dialog.choices = ['Ok'];
dialog.open();
};
window.seAlert = seAlert;