diff options
Diffstat (limited to 'web/components/grid/index.ts')
| -rw-r--r-- | web/components/grid/index.ts | 14 |
1 files changed, 0 insertions, 14 deletions
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>; |
