use shadowdom anyway to support slots

This commit is contained in:
Jacob Overgaard
2023-07-25 15:50:09 +02:00
parent 010c3e9daa
commit 304be0cd5a

View File

@@ -67,13 +67,6 @@ export class UmbLocalizeElement extends UmbLitElement {
protected render() {
return this.value ? html`${this.value}` : html`<slot></slot>`;
}
/**
* This element does not use a shadow root and will render directly into the DOM.
*/
protected createRenderRoot(): this {
return this;
}
}
declare global {