mirror of
https://github.com/FJurmanovic/wallet-web.git
synced 2026-02-06 06:08:10 +00:00
25 lines
661 B
TypeScript
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 };
|