Config Options
Swap on hover or drop?
The default behavior is to swap items as soon as you hover the dragging item on any slot. You can change that to make them swap when you drop the item.
createSwapy(container, {
swapMode: 'hover'
})
createSwapy(container, {
swapMode: 'drop'
})