- From: Caridy Patiño <notifications@github.com>
- Date: Sun, 16 Sep 2018 08:11:29 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 16 September 2018 15:11:51 UTC
@calebdwilliams where to store the reference of the instance generated by something like `new ElementInternals(customElement)` is not the issue. You can use a weakmap, a symbol, a private field, etc. This is analog to what `this.attachShadow({ mode: 'closed' })` does today where you're responsible for storing the internal reference to the shadowRoot reference if you want to keep it around. This issue is about how and when to create an instance of `ElementInternals`, who can create it, and what are the semantics of it. -- 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-421780306
Received on Sunday, 16 September 2018 15:11:51 UTC