I recently needed a minimal simple library for handling drag and drop behaviours of dynamic HTML elements, and while I like interactjs.io‘s library for resize/drag/drop at 85kb (js), I decided I wanted something smaller. Mozilla’s MDN example code did the job mostly, so I uncoupled, restructured, parameterised some options and committed as mozDraggables under the MIT license.
In the end, the mozDraggables library weights in at 2.8kb (js) and 461 bytes (css).
See the Readme.MD and demos for defaults, options and further details on the Github repo.