This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* This gist provides a simple solution for dragging an HTML element | |
* with a mouse or on a touch screen. It includes a fix for an issue | |
* specific to React. | |
* | |
* See [plain js implementation](https://github.com/blackslate/draggable/) | |
* [demo](https://blackslate.github.io/draggable/) | |
* | |
* See [React implementation](https://github.com/blackslate/draggable-react/) | |
* [demo](https://blackslate.github.io/draggable-react/) |