Re: [WICG/webcomponents] [declarative-custom-elements] how does the class get associated with the definition (#884)

@trusktr , 
Should `customElements.attachTemplateAsShadow(this, state)` be separate proposal ?
I see the need for such API, but not on `customElements` . Rather follow the pattern of [element.attachShadow](https://developer.mozilla.org/en-US/docs/Web/API/Element/attachShadow)

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

Message ID: <WICG/webcomponents/issues/884/1510139995@github.com>

Received on Sunday, 16 April 2023 07:25:27 UTC