- From: Tom Wilkinson <notifications@github.com>
- Date: Tue, 01 Aug 2023 15:23:02 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 1 August 2023 22:23:07 UTC
@tbondwilkinson commented on this pull request. > + </section> +</template> +``` + +## Names and Metadata + +Templating systems may need to serialize data about the nodes they are marking +into the processing instructions. Or at the very least parts could be named so +that they are easier to fetch. + +```html +<div>{{email data="foo"}}</div> +``` + +This could be exposed on the imperative API to be consumed in JavaScript by +application logic. Oh yeah it's not clear, but the reason metadata is a string is not because we split the string, it's because you might actually have metadata in two places for the same part. ``` {{# metadata1}}foo{{/ metadata2}} ``` I'll call this out. -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/pull/1023#discussion_r1281207959 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/pull/1023/review/1557917263@github.com>
Received on Tuesday, 1 August 2023 22:23:07 UTC