- From: Justin Fagnani <notifications@github.com>
- Date: Sat, 14 Apr 2018 23:23:05 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 15 April 2018 06:23:26 UTC
> I'm implicitly returning this which has the correct prototype (el) in it. The prototype isn't what makes a DOM node a DOM node - the JS object has to wrap a real DOM object created by the browser. Changing the prototype only changes the JS side, it doesn't create a DOM object. I gave you an example that works, just use that. -- 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/587#issuecomment-381383326
Received on Sunday, 15 April 2018 06:23:26 UTC