This commit is contained in:
Niels Lyngsø
2024-06-26 13:07:32 +02:00
parent 5539bc8b43
commit fb9a6657ab

View File

@@ -51,6 +51,7 @@ export class UmbUfmRenderElement extends UmbLitElement {
@property()
markdown?: string;
// No reactive property declaration cause its causing a re-render that is not needed. This just works as a shortcut to set the values on the context. [NL]
public set value(value: string | unknown | undefined) {
this.#context.setValue(value);
}