summaryrefslogtreecommitdiff
path: root/web/components
diff options
context:
space:
mode:
Diffstat (limited to 'web/components')
-rw-r--r--web/components/app/index.ts13
-rw-r--r--web/components/grid/index.ts14
-rw-r--r--web/components/index.ts2
3 files changed, 0 insertions, 29 deletions
diff --git a/web/components/app/index.ts b/web/components/app/index.ts
deleted file mode 100644
index f4eaff1..0000000
--- a/web/components/app/index.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import ntvGrid from "../grid";
-
-class NotiveAppElement extends HTMLElement {
- connectedCallback() {
- this.append(
- ...window.notive.doc.grids.map((_grid) => {
- return ntvGrid({ foo: "1" });
- }),
- );
- }
-}
-
-customElements.define("ntv-app", NotiveAppElement);
diff --git a/web/components/grid/index.ts b/web/components/grid/index.ts
deleted file mode 100644
index 7faf6b1..0000000
--- a/web/components/grid/index.ts
+++ /dev/null
@@ -1,14 +0,0 @@
-import h, { type CreateElement } from "../../html";
-
-class NotiveGridElement extends HTMLElement {
- foo: string;
-
- connectedCallback() {
- this.appendChild(h.p("OK: " + this.foo));
- }
-}
-
-customElements.define("ntv-grid", NotiveGridElement);
-
-export default ((...args: any[]): NotiveGridElement =>
- (h as any)["ntv-grid"](...args)) as CreateElement<NotiveGridElement>;
diff --git a/web/components/index.ts b/web/components/index.ts
deleted file mode 100644
index 8bc14e7..0000000
--- a/web/components/index.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import "./app";
-import "./grid";