![](/img/trans.png)
[英]How to drop a draggable into a sortable, the droppped item is not the original element but a custom helper
[英]Can I drop the the helper of a draggable into a sortable instead of the original item?
例如,当我将可拖动拖动到可排序时,有一个与原始可拖动项目不同的帮助程序。 我可以将帮助项放入可排序项而不是原始可拖动项吗?
您可以将dropable插件与可拖动插件结合使用,将项目从位置A拖动到B.然后,位置B可以是您使用可排序插件的位置。
=>您将丢弃可排序的项目
你可以在这里找到两个插件一起工作的例子: http : //jqueryui.com/demos/draggable/#sortable
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.