Skip to content
Snippets Groups Projects
Unverified Commit 381ae861 authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Add body slot

parent 4b778fe5
No related branches found
No related tags found
No related merge requests found
Pipeline #54871 passed
...@@ -57,7 +57,7 @@ export class InlineNotification extends DBPLitElement { ...@@ -57,7 +57,7 @@ export class InlineNotification extends DBPLitElement {
} }
createBodyHtml() { createBodyHtml() {
return document.createRange().createContextualFragment(`${ this.body }`); return document.createRange().createContextualFragment(`<slot name="body">${ this.body }</slot>`);
} }
render() { render() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment