Closed zhump closed 6 years ago
Not sure if I understood the question, in the demo there is a raw pane which can be dragged by starting anywhere in the pane, would that be your goal?
Thank you for your reply, for example this case https://jqueryui.com/draggable/#handle
I made some changes, any element containing pane-drag as attribute will be able to drag the view, updated demo as well, I'm not sure if this will be the final solution, but let me know if works well for you
<!-- as a view on a Layout -->
<div class="custom-drag">
<div class="container">
testing a drag handle
<div class="drag-handle" pane-drag>DRAG HERE</div>
test
</div>
</div>
...
Thank you for your support. It really helped me. Thank you very much.
hi Whether the handle of the drag can be distributed according to the vue slot ? I need to customize the style of draggable objects...