JavaScript Library That Groups HTML Draggable Elements | magnet.js
Magnet.js is a JavaScript library that gathers HTML elements and makes them attractive to each other. The composition of the magnet’s attraction distance Switch to stay in the parent element Align with the outer/inner edge of the others Align the center of the x/y to the others Align the x/y center of the parent element … Read more