Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose dataTransfer.items for files #1241

Merged
merged 3 commits into from Mar 6, 2019
Merged

Expose dataTransfer.items for files #1241

merged 3 commits into from Mar 6, 2019

Conversation

darthtrevino
Copy link
Member

@darthtrevino darthtrevino commented Mar 6, 2019

Modification of #1225 (thanks @renchap!)

This modification to the original PR breaks up the NativeTypes file for clarity, and adds some typings to elements with any types. We also modify the HTML5Backend to minimize the amount of any typings.

renchap and others added 3 commits February 17, 2019 21:35
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
@darthtrevino darthtrevino merged commit 96ff9ca into master Mar 6, 2019
@darthtrevino darthtrevino deleted the pr/1225_mod branch March 6, 2019 18:39
darthtrevino added a commit that referenced this pull request Feb 3, 2022
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants