#issue-fix alert dialog overwrite style

This commit is contained in:
Agriya Dev5
2021-01-06 20:00:02 +05:30
parent 72022f12e3
commit 9297fd84b1
6 changed files with 88 additions and 15 deletions

View File

@@ -1,5 +1,4 @@
// eslint-disable-next-line node/no-unpublished-import
import AlertDialog from 'elix/define/AlertDialog.js';
import SePlainAlertDialog from './SePlainAlertDialog.js';
/**
* @class SePromptDialog
*/
@@ -11,7 +10,7 @@ export class SePromptDialog extends HTMLElement {
super();
// create the shadowDom and insert the template
this._shadowRoot = this.attachShadow({mode: 'open'});
this.dialog = new AlertDialog();
this.dialog = new SePlainAlertDialog();
}
/**
* @function observedAttributes