use custom elements for application layout

This commit is contained in:
Fran Jurmanović
2021-05-31 14:23:13 +02:00
parent e1ab0e51d6
commit e065efc499
9 changed files with 110 additions and 15 deletions

View File

@@ -0,0 +1,14 @@
import { controller, target } from "@github/catalyst";
import { AppMainElement } from "components/app-main/AppMainElement";
import { closest } from "core/utils";
@controller
class AppSlotElement extends HTMLElement {
@target slotElement: HTMLElement;
@closest appMain: AppMainElement;
constructor() {
super();
}
connectedCallback() {}
}