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