diff --git a/dropdown-menu.js b/dropdown-menu.js index f9c1a55..00b8c4b 100644 --- a/dropdown-menu.js +++ b/dropdown-menu.js @@ -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