[英]More modern version of jQuery UI Draggable component?
I have a .NET Razor Pages application and need draggable/sortable functionality.我有一个 .NET Razor Pages 应用程序并且需要可拖动/可排序功能。
I found the jQuery UI Draggable/Sortable component .我找到了jQuery UI Draggable/Sortable component 。 I actually used this many years ago and it worked fine.
我实际上在很多年前使用过它并且效果很好。
But the download page says it's stable for jQuery 1.8+ and I'm using jQuery 3.5.1.但是下载页面说它对于 jQuery 1.8+ 是稳定的,而我使用的是 jQuery 3.5.1。
Are there any newer versions of a draggable/sortable component?是否有更新版本的可拖动/可排序组件?
If it makes any difference, I'm using Bootstrap 5. And my objects to be dragged are class="col-lg-6"
<div>
s within a class="row"
<div>
.如果有什么不同,我使用的是 Bootstrap 5。我要拖动的对象是
class="col-lg-6"
<div>
中的class="row"
<div>
。
jQuery 3.5.1 is (much) newer than jQuery 1.8, so you are fine. jQuery 3.5.1 比 jQuery 1.8 更新(很多),所以你没问题。 As for the draggable/sortable widgets, they are part of jQuery-UI and 1.13.2 is the newest version.
至于可拖动/可排序的小部件,它们是 jQuery-UI 的一部分,1.13.2 是最新版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.