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, button, ul, slot, span, div } from "../ignite-html/ignite-template.js";
|
||||
import { IgniteProperty } from "../ignite-html/ignite-html.js";
|
||||
@@ -157,8 +158,8 @@ class EditableLabelTemplate extends IgniteTemplate {
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define("mt-editable-label", EditableLabel);
|
||||
IgniteHtml.register("mt-editable-label", EditableLabel);
|
||||
|
||||
export {
|
||||
EditableLabelTemplate as EditableLabel
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user