Re: [WICG/webcomponents] [element-internals] How to get internals in base class and subclass, without leaking it to public (Issue #962)

@bakkot interesting trick. That does indeed keep the internals protected. The only downside is subclasses needing to remember that boilerplate. Your subclass constructor should also wire up a callback in case a further subclass needs internals (lots of boilerplate).

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/962#issuecomment-1199995085
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/962/1199995085@github.com>

Received on Friday, 29 July 2022 22:29:49 UTC