1.1.0 • Published 6 years ago

custom-renderer v1.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

custom-renderer

usage

<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>