summaryrefslogtreecommitdiff
path: root/web/components/app/index.ts
blob: f4eaff18b6dd418febd3b6b9f08e687bc5d286df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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);