Upgraded to new IgniteHtml register element.

This commit is contained in:
MattMo 2022-08-26 08:34:46 -07:00
parent 131ad7d5db
commit 1a20a575c6

View File

@ -1,3 +1,4 @@
import { IgniteHtml } from "../ignite-html/ignite-html.js";
import { IgniteElement } from "../ignite-html/ignite-element.js";
import { IgniteTemplate, button, ul, slot, div } from "../ignite-html/ignite-template.js";
@ -65,7 +66,7 @@ class DropdownMenuTemplate extends IgniteTemplate {
}
}
customElements.define("bt-dropdown-menu", DropdownMenu);
IgniteHtml.register("bt-dropdown-menu", DropdownMenu);
export {
DropdownMenuTemplate as DropdownMenu