使用 JsPlumb 创建的图表 - 移动设备的替代品有哪些?
我喜欢 jsPlumb 来显示简单的图表。
但我们面临的一个问题是 jsPlumb 在移动设备上运行得不太好。例如,当我尝试移动移动设备中的文本区域之一时,它不允许您像在 PC 中那样进行操作。所以我的问题是:是否有任何替代或类似的软件包可以用于移动设备。也许,一些带有 jquery mobile 的包?谢谢
I like jsPlumb to display simple diagram.
But one problem for us is that jsPlumb does not work very well with mobile device. For example, when I tried to move one of textarea in mobile device, it does not let you do that like it does in PC. So my question: Is there any alternative or similar package we can use for mobile devices. Perhaps, some package with jquery mobile? Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
严格来说,并不是 jsPlumb 表现不佳,而是底层库,我认为在本例中是 jQuery。就拖动事件而言,jsPlumb 只会执行其所告知的操作:例如,如果您使用它,则 YUI 拖动可以在触摸设备上运行。但我意识到 jQuery 比 YUI 有更多的用户,所以我打算在未来的版本中考虑触摸支持。
Strictly speaking it's not jsPlumb that doesn't play well, but the underlying library, which I suppose is jQuery in this case. jsPlumb just does what its told as far as drag events are concerned: if you use it YUI dragging works on touch devices, for example. But I realise jQuery has more users than YUI so touch support is something I am intending to look at in a future release.