28 lines
568 B
JavaScript
28 lines
568 B
JavaScript
|
import { IgniteElement } from "../ignite-html/ignite-element.js";
|
||
|
import { IgniteTemplate, button, ul, slot } from "../ignite-html/ignite-template.js";
|
||
|
|
||
|
class EditableLabel extends IgniteElement {
|
||
|
constructor() {
|
||
|
super();
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
render() {
|
||
|
return this.template.child(
|
||
|
|
||
|
);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
class EditableLabelTemplate extends IgniteTemplate {
|
||
|
constructor(...children) {
|
||
|
super("mt-editable-label", children);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
customElements.define("mt-editable-label", EditableLabel);
|
||
|
|
||
|
export {
|
||
|
EditableLabelTemplate as EditableLabel
|
||
|
};
|