Open janat08 opened 2 years ago
I don't think iconlist did anything for me. I get error Error: Failed to execute 'setAttribute' on 'Element': '}' is not a valid attribute name.
Using iconbutton in meta slot doesn't work. Should that be a separate issue?
<Meta >
<!-- <IconButton on:click={metaClick} class="material-icons"}
>bookmark_border</IconButton> -->
</Meta>
Is your feature request related to a problem? Please describe. I want to have more actions on list items. One of the solutions in the specs is having a popover in meta section of item, and another one is swiping left or right.
Describe the solution you'd like I'm leaning towards swiping, but I don't see any specs about how to indicate that list items are swipable. Additionally I suspect that doing swiping with mouse straightforward (difference is how input works). If the specs dictate that swipe actions are to be used on mobile and popover on desktop, then the list component should take options that are then accordingly displayed.
Describe alternatives you've considered I haven't tried it yet, but simply placing icon in meta doesn't show interactive animation. I'll try some input control with icon option instead since checkboxes work.
Additional context I went on stackoverflow and they have different ideas about indicating that list item may be swiped, and most provide examples aimed at mobile. One of them is just have list items not take up all of the row and have half of icons that indicates what swipe action does visible on the sides of the item.