Skip to content

Feature: aggregate slot content for "within" queries. #38

@KonnorRogers

Description

@KonnorRogers
<my-wrapper>
  <div slot="start"><button></button></div>
</my-wrapper>
within(wrapper.startSlot).getByShadowRole("button")

^ should return button, but due to how projection of slots work, it doesn't.

this is a simple example but more complex reasoning may involve finding a specific row of a table which may have many slots.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions