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

@annevk that's very interesting. I think I like that better, "restricting access to such thing during the construction phase", being completely optional, and mixin safe.

I still think that `new Something(this)` is very weird, I prefer `this.something()` to produce the stateful obj that represents the internals, and that can be accessed at any level in the prototype chain during construction only.

-- 
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-428404569

Received on Wednesday, 10 October 2018 01:15:30 UTC