From f5fa4f7d58344c2dc722d1f37c1d7a008f6ee9b3 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Thu, 7 Sep 2023 20:24:21 +0200 Subject: new element creation helper --- client-web/source/room_watches.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 client-web/source/room_watches.ts (limited to 'client-web/source/room_watches.ts') diff --git a/client-web/source/room_watches.ts b/client-web/source/room_watches.ts new file mode 100644 index 0000000..331022d --- /dev/null +++ b/client-web/source/room_watches.ts @@ -0,0 +1,10 @@ +import { e } from "./helper.ts"; + +export function ui_room_watches(): HTMLElement { + const listing = e("div", {}) + + return e("div", { class: "room-watches" }, + e("h2", {}, "Known Rooms"), + listing + ) +} -- cgit v1.3