-
Notifications
You must be signed in to change notification settings - Fork 3
maccman/jquery.drop.js
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The HTML5 drag/drop API is rather odd - you need to implement at least three event handlers for it to work. This library abstracts it for jQuery. Usage: var view = $("#view"); view.dropArea(); view.bind("drop", this.proxy(function(e){ e.stopPropagation(); e.preventDefault(); var files = e.originalEvent.dataTransfer.files; for ( var i = 0; i < files.length; i++) this.createAsset(files[i]); return false; }));
About
jQuery lib abstracting the drag/drop API
Resources
Stars
Watchers
Forks
Releases
No releases published