- From: Joe Pea <notifications@github.com>
- Date: Mon, 09 Oct 2017 19:49:26 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 10 October 2017 02:49:47 UTC
What I'll do for my un-named custom elements that I wants users to name, is to give them specific API for that, so `SomeElement.define('any-thing')`, `OtherElement.define('any-element')`, etc. By doing this, I can map constructors to names (rather than other way around with `customElements.get()`) so I can at least leak Promises only to the specific names for my classes. In this case, if the elements are never defined, then there's something wrong, and I can throw a warning or error after a timeout. -- 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/674#issuecomment-335344229
Received on Tuesday, 10 October 2017 02:49:47 UTC