From 1a20a575c6606079b1b6921a1a11cb8e9c64d89f Mon Sep 17 00:00:00 2001 From: MattMo Date: Fri, 26 Aug 2022 08:34:46 -0700 Subject: [PATCH] Upgraded to new IgniteHtml register element. --- dropdown-menu.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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