I was puzzled when I saw jQuery "Snap to element". Does anyone know how can I implement it without jQuery, with just raw javascript.
Thanks
I was puzzled when I saw jQuery "Snap to element". Does anyone know how can I implement it without jQuery, with just raw javascript.
Thanks
Assuming you've built a drag and drop implementation without jQuery UI to have it snap to another element you need to now do the following: