Files
svgedit/src/editor/dialogs/seAlertDialog.js
2021-01-06 20:00:02 +05:30

11 lines
233 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;