-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Expose
dataTransfer.items
for files (#1241)
* feat(html5-backend): expose `dataTransfer.items` for files This commit allows to expose more than one property in the HTML5 backend. Now, `event.dataTransfer.items` are exposed when files are dropped, allowing the developer to handle dropping directories and getting their content. Fixes #712 * refactor: break up NativeDragSource; improve typings in HTMLBackend
- Loading branch information
1 parent
19a681f
commit 1188d93
Showing
8 changed files
with
267 additions
and
192 deletions.
There are no files selected for viewing
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 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
Oops, something went wrong.