Open thrbnhrtmnn opened 11 months ago
Might not be possible, and if it is possible, it may even not be a good idea. We moved the task to the backlog in todays planning.
We stumbled upon a solution how this might still be possible: https://stackoverflow.com/questions/58169882/call-litelement-method-from-outside-the-element
This was found when looking into validation.
Description / User Story
With #387 we now have the first component to use slots. What we have not figured out yet is if and how components that have been placed inside a slot can inherit props like theme or size from the "parent" component.
What we also have not figured out is if and how we can only allow certain components to be placed inside a slot.
Acceptance Criteria
Background information