Skip to content

v0.3.7 New Swap algorithm

Compare
Choose a tag to compare
@dgavey dgavey released this 13 Jul 03:09
· 235 commits to master since this release

This introduces a new algorithm option for sorting items. In the case of horizontal lists, sometimes you may want the items to cascade their positions down the list, rather than just swapping the items. You can send a useSwap=false now on the sortable-objects component to use the cascading algorithm instead. PR #50 thanks to @juanazam for his contribution and test.