8000 [css-shadow-parts] Dynamic *exportparts=* · Issue #3509 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content

[css-shadow-parts] Dynamic *exportparts=* #3509

@frivoal

Description

@frivoal

(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>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0