[tutorial] Interacting with slotted children
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 142
- Forks
- 230
- PR merge metrics
- No merged PRs in 30d
Description
Cover slot-related topics from here: https://lit.dev/docs/components/shadow-dom/
Possibly add setting a class on a slotted child. For example, implementing something like a select or menu element that takes menu items as slotted children.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked Shadow DOM documentation at lit.dev/docs/components/shadow-dom/ and review the existing coverage of slots and slotted children. The work is done when the tutorial clearly covers the requested slot-related topics, including the possible menu or select example and class handling for slotted children.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation, web-dev
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100