← All repos

drag-drop

HTML5 drag & drop for humans

browserbrowserifydrag-and-dropdrag-drophtml5javascript
Browse cluster: JavaScript Standard Style Linting
241commits
16contributors
2languages

Tech stack & purpose

drag-drop is a JavaScript library that simplifies the HTML5 drag and drop API, which the project characterizes as difficult to use in its native form. Built for browser environments and compatible with browserify, the library provides a straightforward interface for handling file and directory drops, text drags, and associated drag events, while automatically adding styling hooks via a `drag` class. Created by Feross Aboukhadijeh, drag-drop also supports converting dropped files to Buffers and processing clipboard paste events, with excellent cross-browser support including Chrome, Firefox, Safari, and Edge.

Languages

JavaScript
88.4%
HTML
11.6%

Contributors