Re: [WICG/webcomponents] [dom-parts] Attribute Grouping (Issue #1011)

From our conversation in the last F2F, I think we landed on a creation API that was somthing like this:

```
const emailAttributePart = AttributePart.create(link, "href", ["mailto"]);
emailAttributePart.values = ["john@doe.org"];
```

The idea being that the `AttributePart` would have an array of static strings when created and that settings the `values` property to an array of values would cause the static strings to be interpolated with the values, very similarly to how tagged templates work.

If I'm incorrect on this, maybe someone can chime in and we can iron out the details here.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/1011#issuecomment-1651961431
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/1011/1651961431@github.com>

Received on Wednesday, 26 July 2023 14:47:36 UTC