- From: Tom Wilkinson <notifications@github.com>
- Date: Thu, 03 Aug 2023 11:52:17 -0700
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 3 August 2023 18:52:22 UTC
@tbondwilkinson commented on this pull request. > + +Allowing `{{}}` inside an attribute works the same as a +[partial attribute update](./DOM-Parts-Imperative.md#partial-attribute-updates), +in that it will create an `AttributePart` for the entire attribute, but it will +have multi-valued `value` property. + +```html +<template> + <section> + <h1 id="name">{{}}</h1> + Email: <a id="link" href="mailto:{{}}">{{}}</a> + </section> +</template> +``` + +The `AttributePart` for `href` would have `value` equal to `['mailto:', '']`. Okay, makes sense. I added a new `statics` attribute to `AttributePart` with declarative or imperative statics. -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/pull/1023#discussion_r1283595118 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/pull/1023/review/1561680714@github.com>
Received on Thursday, 3 August 2023 18:52:22 UTC