From 5404a95c15e176d25728bf1a319ddb9828b23625 Mon Sep 17 00:00:00 2001 From: Josh Kingsley Date: Sat, 25 Oct 2025 20:46:35 +0300 Subject: refactor(web): re-organize files --- web/src/components/app/index.ts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 web/src/components/app/index.ts (limited to 'web/src/components/app/index.ts') 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); -- cgit v1.2.3