Upgraded to new IgniteHtml register element.
This commit is contained in:
parent
131ad7d5db
commit
1a20a575c6
@ -1,3 +1,4 @@
|
|||||||
|
import { IgniteHtml } from "../ignite-html/ignite-html.js";
|
||||||
import { IgniteElement } from "../ignite-html/ignite-element.js";
|
import { IgniteElement } from "../ignite-html/ignite-element.js";
|
||||||
import { IgniteTemplate, button, ul, slot, div } from "../ignite-html/ignite-template.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 {
|
export {
|
||||||
DropdownMenuTemplate as DropdownMenu
|
DropdownMenuTemplate as DropdownMenu
|
||||||
|
Loading…
x
Reference in New Issue
Block a user