summaryrefslogtreecommitdiff
path: root/web/src/components/app/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/components/app/index.ts')
-rw-r--r--web/src/components/app/index.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/web/src/components/app/index.ts b/web/src/components/app/index.ts
new file mode 100644
index 0000000..5967a46
--- /dev/null
+++ b/web/src/components/app/index.ts
@@ -0,0 +1,14 @@
+import ntvGrid from "../grid";
+import "./index.css";
+
+class NotiveAppElement extends HTMLElement {
+ connectedCallback() {
+ this.append(
+ ...window.notive.doc.grids.map((_grid) => {
+ return ntvGrid();
+ }),
+ );
+ }
+}
+
+customElements.define("ntv-app", NotiveAppElement);