Was vue support v-on:drop and v-on:paste ?
See original GitHub issueVersion
2.4.1
Reproduction link
https://jsfiddle.net/thainayu/50wL7mdz/47314/
Steps to reproduce
Drag file to red box (normal ondrop
) work. But black box using v-on:drop
does not
What is expected?
v-on:drop
should work like ondrop
and trigger vue object’s method like other event
What is actually happening?
v-on:drop
does not triggered
Same go for paste
. paste
may not be standard but at least jquery support it
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Vue.js - The Progressive JavaScript Framework | Vue.js
Builds on top of standard HTML, CSS and JavaScript with intuitive API and world-class documentation. Performant. Truly reactive, compiler-optimized rendering ...
Read more >Frequently Asked Questions - Vue.js
If you are starting a new project today, Vue 3 is the recommended choice. There are only a few reasons for you to...
Read more >Releases - Vue.js
Sometimes TypeScript itself ships incompatible changes between minor versions, and we may have to adjust types to support newer versions of TypeScript.
Read more >Quick Start - Vue.js
This command will install and execute create-vue, the official Vue project scaffolding tool. You will be presented with prompts for several optional features ......
Read more >Introduction - Vue.js
The Progressive Framework Vue is a framework and ecosystem that covers most of the common features needed in frontend development. But the web...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I accidentally found a simple solution for drop, hope it is not too late 😄 @drop.prevent=“handleDrop”
That would be a problem to ask on forum.vuejs.org