blob: 5967a463fe5dcb0c97fdd480dc1db7f879a5314b (
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();
}),
);
}
}
customElements.define("ntv-app", NotiveAppElement);
|