Re: [w3c/webcomponents] How to define APIs only for custom element authors (#758)

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