- From: Ryosuke Niwa <notifications@github.com>
- Date: Tue, 02 May 2023 10:45:27 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 2 May 2023 17:45:32 UTC
We need an API to clone parts with tree. Current proposal: https://github.com/WICG/webcomponents/blob/gh-pages/proposals/DOM-Parts.md#cloning-parts ``` partial interface Node { NodeWithParts cloneTree(optional CloneOptions options = {}); }; dictionary CloneOptions { boolean deep = true; Document? document; PartGroup? partGroup; }; dictionary NodeWithParts { Node node; PartGroup? partGroup; }; ``` What happens to the current values of DOM parts? Do we allow DOM parts to have some non-initial values and do we clone those values as well? If so, what do we do with `PropertyPart` / `CustomPart`? -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/1012 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/1012@github.com>
Received on Tuesday, 2 May 2023 17:45:32 UTC