@@ -4,10 +4,10 @@ template.innerHTML = `
|
||||
`;
|
||||
|
||||
export default class MyPropertyEditorUI extends HTMLElement {
|
||||
constructor() {
|
||||
super();
|
||||
this.attachShadow({mode: 'open'});
|
||||
this.shadowRoot.appendChild(template.content.cloneNode(true));
|
||||
}
|
||||
constructor() {
|
||||
super();
|
||||
this.attachShadow({ mode: 'open' });
|
||||
this.shadowRoot.appendChild(template.content.cloneNode(true));
|
||||
}
|
||||
}
|
||||
customElements.define('my-property-editor-ui-custom', MyPropertyEditorUI);
|
||||
customElements.define('my-property-editor-ui-custom', MyPropertyEditorUI);
|
||||
|
||||
@@ -15,11 +15,11 @@ template.innerHTML = `
|
||||
`;
|
||||
|
||||
export default class MySectionCustom extends HTMLElement {
|
||||
constructor() {
|
||||
super();
|
||||
this.attachShadow({mode: 'open'});
|
||||
this.shadowRoot.appendChild(template.content.cloneNode(true));
|
||||
}
|
||||
constructor() {
|
||||
super();
|
||||
this.attachShadow({ mode: 'open' });
|
||||
this.shadowRoot.appendChild(template.content.cloneNode(true));
|
||||
}
|
||||
}
|
||||
|
||||
customElements.define('my-section-custom', MySectionCustom);
|
||||
customElements.define('my-section-custom', MySectionCustom);
|
||||
|
||||
Reference in New Issue
Block a user