- From: Justin Fagnani <notifications@github.com>
- Date: Fri, 07 Dec 2018 13:35:51 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 7 December 2018 21:36:13 UTC
@rniwa I wonder if we want to consider a more generic name for `TemplatePart`, since they can be attached directly to non-template DOM? Also, another approach could be a template tag that does what you have in the very first example and directly creates an instance. Maybe something like: ```js let text = 'hello'; const br = document.createElement('br'); const instance5 = htmlFragment`<b>${text}</b>${suffix}`; document.body.appendChild(instance5); instance5.update({0: 'goodbye'}); ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/777#issuecomment-445372825
Received on Friday, 7 December 2018 21:36:13 UTC