This is a Polymer 3 conversion of the sortable-list element from pdgago (https://github.com/sharedlabs/sortable-list) with some minor adjustments. The readme was not updated and is still the one from the original sotable-list element!
sortable-list
sortable-list
is a custom element that allows you to sort an element from a list by dragging it.
Item 1 Item 2 Item 3 ...onSortFinish(event) { const sortedItem = event.detail.target;}
When using a dom-repeat you must specify which items are sortable.
TODO:
- Allow sort of elements with different sizes #2