implemented modals

This commit is contained in:
Fran Jurmanović
2021-06-01 12:23:50 +02:00
parent 1e2895f22f
commit 86d2cec105
4 changed files with 91 additions and 50 deletions

View File

@@ -20,7 +20,7 @@ class BaseLayoutElement extends HTMLElement {
};
setElement = (newTag: string) => {
const _appSlot = `<${newTag}></${newTag}>`;
const _appSlot = `<div data-target="base-layout.content"><${newTag}></${newTag}></div>`;
this._appSlot = _appSlot;
this.appSlot.innerHTML = _appSlot;
};