fix(core): update
This commit is contained in:
@ -10,12 +10,12 @@ import {
|
||||
} from '@designestate/dees-element';
|
||||
import { DeesWindowLayer } from './dees-windowlayer.js';
|
||||
|
||||
@customElement('lele-mobilenavigation')
|
||||
export class LeleMobilenavigation extends DeesElement {
|
||||
private static singletonRef: LeleMobilenavigation;
|
||||
@customElement('dees-mobilenavigation')
|
||||
export class DeesMobilenavigation extends DeesElement {
|
||||
private static singletonRef: DeesMobilenavigation;
|
||||
public static async createAndInit(menuItemsArg: plugins.tsclass.website.IMenuItem[]) {
|
||||
if (!this.singletonRef) {
|
||||
this.singletonRef = new LeleMobilenavigation();
|
||||
this.singletonRef = new DeesMobilenavigation();
|
||||
document.body.append(this.singletonRef);
|
||||
await this.singletonRef.init();
|
||||
}
|
||||
|
Reference in New Issue
Block a user