IsraelZablianov / draggable-vue-directive

Vue2 directive that handles drag & drop
MIT License
314 stars 50 forks source link

Can I use clone helper as drag n drop? #12

Closed ashutosh1807 closed 6 years ago

IsraelZablianov commented 6 years ago

Please provide explanation, example and screenshot

ashutosh1807 commented 6 years ago

See I have a button now as I click it and drag into my dropping area I want a dynamic component to be added at mouse drop position...how can I do this can you give a sample code?or should I give a sample code

IsraelZablianov commented 6 years ago

You can use the 'onPositionChange' event to get the mouse drop position, and the rest is up to you..