vue-draggable-resizable icon indicating copy to clipboard operation
vue-draggable-resizable copied to clipboard

Group move

Open yilingsj opened this issue 5 years ago • 3 comments

I now have a requirement: I can select several elements as a group and move them as a group, and the elements in the group can also be moved individually. Can you help me? thank you very much!

我现在有一个需求:可以选中几个元素作为一个组进行整体移动,组里面的元素也可以单独移动。你能帮我吗?非常感谢! 如图:group move

yilingsj avatar Dec 26 '19 05:12 yilingsj

@yilingsj 去看看demo,最下面的一个,how-to,有成组移动,不过会有误差,实现原理就是一个活动组件,其它通过计算进行跟随操作。

gorkys avatar Dec 26 '19 08:12 gorkys

@yilingsj 去看看demo,最下面的一个,how-to,有成组移动,不过会有误差,实现原理就是一个活动组件,其它通过计算进行跟随操作。

非常感谢,已经看到了,上次点demo后没有细看,以为多个移动会叫 group,然后一 搜,文档中也没有明说,所以就以为不支持,谢谢哈

yilingsj avatar Dec 27 '19 01:12 yilingsj

@yilingsj 因为组件本身是不会去支持成组操作的,有违作者初衷。所以这也只是作者给出的一个解决方案而已,另外结合DragSelect可以更好的框选组件。

gorkys avatar Dec 27 '19 01:12 gorkys