- From: Tom Wilkinson <notifications@github.com>
- Date: Mon, 31 Jul 2023 12:31:27 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 31 July 2023 19:31:33 UTC
This PR makes various changes against the current DOM parts proposal:
1. Adds a prospective declarative proposal. The basic syntax is `{{}}` for a self-contained part, `{{#}}{{/}}` for part with content. Parsing is enabled with a `parseparts` attribute on any DOM node.
2. `DocumentPartRoot` or `ChildNodePart` are now containers for other nested parts. Browsers will need to maintain the nested list of parts.
3. Cloning operation exists on `DocumentPartRoot` and `ChildNodePart` and returns a new `Part`.
You can view, comment on, or merge this pull request online at:
https://github.com/WICG/webcomponents/pull/1023
-- Commit Summary --
* Update DOM-Parts-Imperative.md after DOM parts discussion
* Add more syntax for declarative DOM
-- File Changes --
D proposals/DOM-Parts-Declarative-Template.md (73)
A proposals/DOM-Parts-Declarative.md (128)
M proposals/DOM-Parts-Imperative.md (396)
M proposals/DOM-Parts.md (2)
-- Patch Links --
https://github.com/WICG/webcomponents/pull/1023.patch
https://github.com/WICG/webcomponents/pull/1023.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/pull/1023
You are receiving this because you are subscribed to this thread.
Message ID: <WICG/webcomponents/pull/1023@github.com>
Received on Monday, 31 July 2023 19:31:33 UTC