Jquery UI Draggable Snapping with margin
问题 I'm working on a project where users can customize their own dashboard page. This means they can drag components onto the page and position them as they like. To get a nicely layout page I want the components to snap to each other. At this moment I'm using the snap: true property, which will place the components right next to each other. However, I'd like to have some space in between the components after they snapped. So instead of snapping to the exact position of the other component, it