- From: Anne van Kesteren <notifications@github.com>
- Date: Tue, 09 Oct 2018 17:12:34 +0000 (UTC)
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 9 October 2018 17:12:56 UTC
So that is the `new Something()` proposal from above, with a slightly different API. It seems we could address the concerns about such an API (raised by @alice above) by a) limiting it to being invoked during construction only, so others cannot create one for you and b) making it a "mixin target" similar to the other proposals so you don't need a bunch of `Something`s, just the one. It'd still be `somethingInstance.ariaXXX` etc. I think I wouldn't mind circling back to that (either API shape), given that additional callbacks do have some unwelcome complexities. -- 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/758#issuecomment-428274525
Received on Tuesday, 9 October 2018 17:12:56 UTC