Upgraded to new IgniteHtml register element.

This commit is contained in:
2022-08-26 08:35:55 -07:00
parent 2f406016b5
commit a745a63163
12 changed files with 33 additions and 21 deletions

View File

@@ -1,3 +1,4 @@
import { IgniteHtml } from '../ignite-html/ignite-html.js';
import { IgniteElement } from "../ignite-html/ignite-element.js";
import { IgniteTemplate, slot, button, span } from "../ignite-html/ignite-template.js";
@@ -60,7 +61,7 @@ class ChipTemplate extends IgniteTemplate {
}
}
customElements.define("mt-chip", Chip);
IgniteHtml.register("mt-chip", Chip);
export {
ChipTemplate as Chip