如何以角度拖动和重新排序内容 [英] How to drag and reorder content in angular

查看:15
本文介绍了如何以角度拖动和重新排序内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有 5 个不同的内容.我想在同一行中拖动和重新排序.. 我怎么能在角度 2、4、5 或 6 中做到这一点.如果有人知道,请帮我做到这一点.

I have 5 different content. I want to drag and reorder it in the same row.. How can I do this in angular 2,4,5 or 6. If anybody know please help me to do this.

stackblitz

推荐答案

这个库包含所有拖放的未来 ng2-dragula,这是演示

This library containe all drag and drop future ng2-dragula,and this the demo

stackblitz 示例

这篇关于如何以角度拖动和重新排序内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆