draggable-vue-directive
draggable-vue-directive copied to clipboard
Use % instead of px ?
Any plan to make the directive work with % instead of px?
Can you please explain a bit more?
If we need to retrieve the position of the draggable item considering the draggable-container, will be easier to use % than px.
E.g. You can save the left and top % based on the draggable-container, then use the % to define the draggable item position programmatically.
Just to illustrate: https://codepen.io/osublake/pen/azMONr (not mine)
I will look into it, thanks
Any updates on this?