mirror of
https://github.com/FJurmanovic/wallet-web.git
synced 2026-02-06 06:08:10 +00:00
created base layouts and fixed structure
This commit is contained in:
25
src/layouts/menu-layout/MenuLayoutElement.ts
Normal file
25
src/layouts/menu-layout/MenuLayoutElement.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
import { attr, targets, controller, target } from "@github/catalyst";
|
||||
import { closest, index, update, isTrue } from "core/utils";
|
||||
import { html, render, until } from "@github/jtml";
|
||||
import { PingService } from "services/";
|
||||
import { BaseLayoutElement } from "common/layouts";
|
||||
|
||||
@controller
|
||||
class MenuLayoutElement extends BaseLayoutElement {
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
|
||||
@update
|
||||
connectedCallback() {}
|
||||
|
||||
update() {
|
||||
render(
|
||||
html`
|
||||
<div>Menu</div>
|
||||
<div data-target="menu-layout.slotted"></div>
|
||||
`,
|
||||
this
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user