Skip to content

Add list-prepend and list-append slots #564

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

Closed
sawyerclick opened this issue Mar 6, 2023 · 2 comments · Fixed by #566
Closed

Add list-prepend and list-append slots #564

sawyerclick opened this issue Mar 6, 2023 · 2 comments · Fixed by #566

Comments

@sawyerclick
Copy link
Contributor

Add slots for content at the top and bottom of the list. I propose list-prepend and list-append for adding content at the top and bottom of the opened list. To do this currently you need to access the list slot which overwrites all select logic and makes the developer rewrite (see the on:click event in the demo vs. the robust classings & events in the source cdoe). This proposal would preserve item logic without having to duplicate all the magic in the source.

Willing to write this myself, as I think the inclusion of the two empty slots would be enough.

@rob-balfre
Copy link
Owner

@sawyerclick released in 5.5.0

thanks

@rob-balfre
Copy link
Owner

5.5.1 ... messed up release!

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