mauricius / vue-draggable-resizable

Vue3 Component for draggable and resizable elements.
https://mauricius.github.io/vue-draggable-resizable/
MIT License
3.32k stars 558 forks source link

Use with vue3 composition API? #257

Open jdittrich opened 4 years ago

jdittrich commented 4 years ago

Story: _I want to "mix in" the draggable-resizable functionality in a component_

…one way to do this might be the vue3 composition API. I wonder if there will be a v3 of vue-draggable-resizable that would allow this.

mauricius commented 4 years ago

I didn't have the chance to look at Vue3 and its composition API yet. I'll consider implementing a new version as soon as I'm able to get familiar with the new version.

jdittrich commented 4 years ago

I experiment with vue3 composition in a drag/drop mechanism in my quickMockup project. It currently runs at best in a prototypical state, but maybe you find the code helpful when you find time to think about your draggable-resizeable for vue3. The event and mousemove composeables might also be helpful

a7650 commented 3 years ago

I experiment with vue3 composition in a drag/drop mechanism in my quickMockup project. It currently runs at best in a prototypical state, but maybe you find the code helpful when you find time to think about your draggable-resizeable for vue3. The event and mousemove composeables might also be helpful

I recently wrote a similar project using the composition API.Vue3DraggableResizable