Files
wallet-web/src/layouts/initial-layout/InitialLayoutElement.ts
Fran Jurmanović 5ee2ccc076 layout structure
2021-10-11 19:54:27 +02:00

25 lines
661 B
TypeScript

import { html, TemplateResult, controller, target, closest } from 'core/utils';
import { BaseLayoutElement } from 'common/layouts';
import { AppMainElement } from 'components/';
import { InitialLayoutElementTemplate } from 'layouts/initial-layout';
@controller('initial-layout')
class InitialLayoutElement extends BaseLayoutElement {
@closest appMain: AppMainElement;
@target appPage: HTMLDivElement;
constructor() {
super();
}
elementConnected = (): void => {
this.update();
};
elementDisconnected = (appMain: AppMainElement): void => {};
render = (): TemplateResult => InitialLayoutElementTemplate();
}
export type { InitialLayoutElement };