Re: [w3c/webcomponents] Is there a way to retrieve the localName from a custom element constructor? (#566)

I'm doing some experimentation and if you have access to the diff algorithms, this method works. However, at the moment I'm looking for a way to support different virtual DOM libraries - sort of like a custom element / shadow DOM abstraction - and I'd like to be able to tell the virtual element functions to create an element for a given constructor. Unless all the virtual DOM libraries support doing `elem.constructor === Ctor` this doesn't seem possible without having a standardised way to get the name that a particular constructor was registered with. Any ideas?

-- 
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/566#issuecomment-251261740

Received on Tuesday, 4 October 2016 00:06:12 UTC