Re: [w3c/webcomponents] Discussion: Templates that Don't Destroy Element References (#777)

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