我有一个非常简单的单个元素示例,在jsPlumb中标记为可拖动。在桌面浏览器上,它是可拖动的,但它不适用于移动/触摸设备。使用jsPlumb启用拖动触摸设备需要做什么?
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css">
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<script src="https://jsplumbtoolkit.com/lib/jsplumb.min.js"></script>
<html>
<body>
<style>
.item {
min-height: 40px;
min-width: 80px;
border: 1px solid green;
position: absolute;
}
</style>
<div id="item1" class="item">
One
</div>
<script>
jsPlumb.draggable("item1", );
jsPlumb.ready(function() {});
</script>
</body>
</html>
&#13;