<script src="node_modules/custom-html-tag/html.js"></script>
<script src="node_modules/custom-renderer/render.js"></script>
<script>
const span = document.createElement('span');
const template = html`<p>${'variable'}</p>`;
render(span, template, {variable: 'hello'}); // <p>hello</p>
render(span, template, {variable: 'hello world'}); // <p>hello world</p>
</script>
-
Notifications
You must be signed in to change notification settings - Fork 0
Simple html renderer
License
VandeurenGlenn/custom-renderer
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|