Skip to content

list-prepend and list-append slots #566

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 7, 2023

Conversation

sawyerclick
Copy link
Contributor

Closes #564. Adds a slot to append content before and after the dropdown list. This preserves the original logic of the list, saving developers (me) from having to copy all of the wonderful default code. This prevents users from having to default to using the list slot to prepend or append any additional content to the list, such as buttons or links.

@vercel
Copy link

vercel bot commented Mar 7, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
svelte-select ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 7, 2023 at 3:43PM (UTC)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add list-prepend and list-append slots
2 participants