[csswg-drafts] [css-shadow-parts] Dynamic *exportparts=* (#3509)

frivoal has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-shadow-parts] Dynamic *exportparts=* ==
(Split from issue #3467, reported by @stefsullrew)

Would it be possible to dynamically set the value of `exportparts=`?
The below example show some pseudo-code to illustrate the question.

```
<x-foo>
    <h1>Component headline</h1>
    
    <template for:each={items} for:item="item" for:index="idx">
        <x-item exportparts="item-header: foo-item-header-{idx}"></x-item>
    </template>
</x-foo>
```


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3509 using your GitHub account

Received on Monday, 14 January 2019 03:00:04 UTC