- From: yuzhehan <notifications@github.com>
- Date: Thu, 29 Oct 2020 13:57:20 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 29 October 2020 20:57:32 UTC
Yes, the developer marking up the DOM tree with `parts` have to know its structure. But someone else could be doing the cloning and updates. For example: we can have a template that represent a row inside a `<my-table>` component. The table author can markup this row template with `parts`. The user of this component can just clone this template with parts and updates them. It allows better encapsulation because there's no need to expose a list of clonedReferences. -- 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/901#issuecomment-719017348
Received on Thursday, 29 October 2020 20:57:32 UTC