This commit is contained in:
metacryst
2025-10-13 00:08:05 -05:00
parent ac93ac5c4e
commit a2f4206cf9
4 changed files with 86 additions and 8 deletions

View File

@@ -0,0 +1,24 @@
css(`
app-window {
width: 100vw;
height: 100vh;
background-color: var(--main);
position: fixed;
top: 0;
left: 0;
display: none;
}
`)
export default class AppWindow extends HTMLElement {
open(app) {
this.style.display = "block"
}
close() {
this.style.display = "none"
}
}
customElements.define("app-window", AppWindow)