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

@matthewp : Yes, that's what the .toDom() method I'm proposing handles. It ultimately converts that `[object HTMLButtonElement]` you're seeing (along with everything else in the string) to a DOM element. Kind of like innerHTML converts a string to DOM, but with the additional feature of being able to convert ${variableOfHandCreatedDomElement} to that vary element created and referenced at the beginning.

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

Received on Friday, 7 December 2018 13:18:02 UTC