mauricius / vue-draggable-resizable

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

Allow referencing parent with css-selector #223

Open Lewenhaupt opened 4 years ago

Lewenhaupt commented 4 years ago

I think it would be great if we could select the parent based on css-selector instead of just a boolean.

mauricius commented 4 years ago

Yeah I tried to implement this once, without luck. I will try again in the future!

Lewenhaupt commented 4 years ago

Perhaps even better than css-selector could be with a vue ref to the HTMLElement?

dvago commented 4 years ago

Hi there, Thanks for this package

Just wanted to flag that I've got the same request, it would be great if we could get the parent via css-selector, there is another library which seems a sort of mirror that implements it, maybe could be a good example:

https://www.npmjs.com/package/vue-drag-resize

h330894169 commented 4 years ago

+1

zis-wtag commented 3 years ago

+1