Upgraded to new IgniteHtml register element.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { IgniteHtml } from "../ignite-html/ignite-html.js";
|
||||
import { IgniteElement } from "../ignite-html/ignite-element.js";
|
||||
import { IgniteTemplate, div, h1, slot, button, list } from "../ignite-html/ignite-template.js";
|
||||
import { IgniteProperty } from "../ignite-html/ignite-html.js";
|
||||
@@ -53,8 +54,8 @@ class AppBarTemplate extends IgniteTemplate {
|
||||
}
|
||||
}
|
||||
|
||||
IgniteHtml.register("mt-app-bar", AppBar);
|
||||
|
||||
export {
|
||||
AppBarTemplate as AppBar
|
||||
};
|
||||
|
||||
customElements.define("mt-app-bar", AppBar);
|
||||
}
|
||||
Reference in New Issue
Block a user