Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/sql-server-2008/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Twitter bootstrap 3 在bootstrap 3.0 carousel中对swipe.js滑动/拖动的支持_Twitter Bootstrap 3_Carousel_Swipe_Swipe.js - Fatal编程技术网

Twitter bootstrap 3 在bootstrap 3.0 carousel中对swipe.js滑动/拖动的支持

Twitter bootstrap 3 在bootstrap 3.0 carousel中对swipe.js滑动/拖动的支持,twitter-bootstrap-3,carousel,swipe,swipe.js,Twitter Bootstrap 3,Carousel,Swipe,Swipe.js,我最近在我的网站上改装了Bootstrap3旋转木马,并使用jquery mobile swiperight和swipeleft添加了滑动手势支持。像这样: 这很好,但是,功能不是我所需要的 以前我使用的是swipe.js,它提供了更多的拖拽和滑动机制。如果将手指放在旋转木马中的图像上,然后向左或向右拖动,图像会立即跟随移动。这比jquery mobile swipe实现感觉更自然、响应更快 我喜欢使用bootstrap carousel和swipe.js似乎不仅仅是一个手势库,它确实提供了一

我最近在我的网站上改装了Bootstrap3旋转木马,并使用jquery mobile swiperight和swipeleft添加了滑动手势支持。像这样:

这很好,但是,功能不是我所需要的

以前我使用的是swipe.js,它提供了更多的拖拽和滑动机制。如果将手指放在旋转木马中的图像上,然后向左或向右拖动,图像会立即跟随移动。这比jquery mobile swipe实现感觉更自然、响应更快

我喜欢使用bootstrap carousel和swipe.js似乎不仅仅是一个手势库,它确实提供了一些carousel功能,因此将两者结合起来似乎不是一件容易的事情


有没有人知道有什么插件或合适的插件可以将类似swipe.js的功能带到引导转盘上?

我最近正在寻找解决这个问题的方法,并解决了这个插件:


它相对较轻,是专门为引导编写的。唯一的缺点是它需要hammer.js,这会增加一些额外的重量,但这不是什么大问题。

谢谢。我们最终走向了另一个方向,所以这对我们来说不再是问题。