blob: 2782e220b9d47e9412e0c3615b87906ddf089b74 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
import ntvGrid from "../grid";
import "./index.css";
class NotiveAppElement extends HTMLElement {
connectedCallback() {
this.append(
...window.notive.doc.grids.map((grid) => {
return ntvGrid({ gridId: grid.id });
}),
);
}
}
customElements.define("ntv-app", NotiveAppElement);
|