Skip to content
Snippets Groups Projects
Verified Commit 15f59c41 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

feat: template mapping

parent fa81fbd0
No related branches found
No related tags found
No related merge requests found
......@@ -946,6 +946,11 @@ function initShadowRoot() {
return this;
}
const mapping = this.getOption("templateMapping", {});
if (isObject(mapping)) {
html = new Formatter(mapping).format(html);
}
this.shadowRoot.innerHTML = html;
return this;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment