- From: Gabriel Basilio <notifications@github.com>
- Date: Sat, 03 Sep 2022 09:02:12 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 3 September 2022 16:02:24 UTC
What do you guys think about providing the `templateId` via `super` `constructor`? Example: ```js constructor { super({ templateId: "..." }) } ``` `HTMLElement` could then by itself get the HTML and attach it to the shadow DOM. Or it could also be a class that extends `HTMLElement` and adds this capability, therefore keeping `HTMLElement` dumb and simple -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/968 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/968@github.com>
Received on Saturday, 3 September 2022 16:02:24 UTC