vue-file-agent
vue-file-agent copied to clipboard
Support dragging from other websites
Is your feature request related to a problem? Please describe. If you drag and drop a file (an image for example) from another website into VFA nothing happens.
Describe the solution you'd like Dragging a file in VFA from another website behaves as if the file was dragged from the OS.
Describe alternatives you've considered None
Additional context
From some StackOverflow research it looks like a drop
event handler can use e.originalEvent.dataTransfer
to access the data being dragged. For example this post https://stackoverflow.com/a/11214243/186593
Interesting. Will consider for v2