Skip to content

Implement named slots #3

@ChristianUlbrich

Description

@ChristianUlbrich

Slots can have names; those need to be reflected to the wrapped element.

For this to work, I think you need to figure out the slots of the wrapped element; that could be done by rendering it invisible / offscreen to get an actual implementation. Maybe we need to monkey-patch all DOM-adding functions, to sniff for <slot> elements...

However if a component is dynamically adding slots, we are out of luck...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions