- From: Lonnie Best <notifications@github.com>
- Date: Fri, 07 Dec 2018 07:37:43 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 7 December 2018 15:38:05 UTC
Well, then I'd expect toDOM() to throw an error if this.btn is not accessible from within the scope where .toDOM() is called. When you pass a template literal into a tagged template literal function, the tag function receives and array of static strings and an argument of each expression result. Couldn't a method on a template literal receive the parameters? If it cannot, then I guess a tag-function is the only way. -- 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-445270227
Received on Friday, 7 December 2018 15:38:05 UTC