- From: Domenic Denicola <notifications@github.com>
- Date: Fri, 11 Mar 2016 06:36:24 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Friday, 11 March 2016 14:36:51 UTC
I think this is solved by using a factory that returns custom element classes/registering them. You could easily write the function ```js function makeSuperElement(BaseClass, baseTagName) { class SuperElement extends BaseClass { ... }; document.registerElement(SuperElement, { extends: baseTagName }); return SuperElement; }); ``` and then call it many times. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/143#issuecomment-195392198
Received on Friday, 11 March 2016 14:36:51 UTC