iOSEdgeSwipeThreshold
IOS的UIWebView环境下的边缘探测距离。如果拖动小于边缘探测距离则不触发swiper。
4.3.5版本以后改名为edgeSwipeThreshold,原命名iOSEdgeSwipeThreshold仍然可用。
4.3.5版本以后改名为edgeSwipeThreshold,原命名iOSEdgeSwipeThreshold仍然可用。
iOSEdgeSwipeThreshold信息
- 类型:
- number
- 默认:
- 20
- 举例:
- 50
- 启用版本:
- 4.0.0
效果演示
使用方法示例
<script language="javascript">
var mySwiper = new Swiper('.swiper-container',{
iOSEdgeSwipeDetection : true,
iOSEdgeSwipeThreshold : 50,
})
</script>
转载原创文章请注明:文章转载自:Swiper中文网 [https://www.swiper.com.cn]
本文地址:https://www.swiper.com.cn/api/touch/286.html