vddl icon indicating copy to clipboard operation
vddl copied to clipboard

🦄 Vue components for modifying lists with the HTML5 drag & drop API.

Results 35 vddl issues
Sort by recently updated
recently updated
newest added

目前正运用大佬插件实现一个基于vue的表单设计器项目,但遇到一个问题。当我拖拽排序列表里进行了seleted回调后,会给当前元素添加一个选中的状态,但如果我再去拖拽当前这个选中元素进行重新排序时,之前选中的状态就不存在了。看了大神的源码,无奈能力有限,望大神指点一二。另外还一个问题就key的重复问题,看了之前一些求解,也未能解决!

拖拽不同的按钮,对应的添加上对应的html代码段,可以吗

官网文档说只支持vue1.0

https://github.com/hejianxian/vddl/blob/85806a3f84aff3e1d986ad1dd5b28d3c8c334f9d/example/src/views/simple.vue#L131-L144

Hi! Is it possible to make a drag element also be a dropzone? Currently I have a list of elements I can reorganize via drag and drop. However I would...

Currently the `` renders as a ``. Would it be possible to specify the rendered tag with a custom directive `:tag="button"` for exemple? Thanks in advance 🙂

I would like to report a bug. **VDDL Version**: 0.5.2 **Vue Version**: 2.3.3 When I drag-and-drop `` elements within a `` too quickly while there is text selected on the...

bug

For `effectAllowed` we can not rely on drag event properties since different browsers give different results. In Safari (MacOS) I always received effectAllowed = 'all', does not matter I assign...

move 移动元素,这是默认值。 copy 复制元素,将有一个复制光标。 不需要指定 index 和 wrapper。 我在例子里面,尝试修改effect-allowed的值,设置成move或者copy都是移动的项目,源目标上的节点都会消失,如果设置成copy,在MAC机器上,用chrome或者safari,按住option键,在用鼠标拖拽,实现的效果是copy的效果。 请问这是为何?

Is it possible to support horizontal and vertical drag'n'drop simultaneously? I want to drag containers from the "vertical" list inside the "horizontal" list. Can you provide an example? I want...