touchMoveStopPropagation
true時阻止touchmove冒泡事件。
touchMoveStopPropagation信息
- 類型:
- boolean
- 默認:
- Swiper5默認false/Swiper4默認true
- 舉例:
- true
- 啟用版本:
- 4.0.0
使用方法示例
<script language="javascript">
var mySwiper = new Swiper('.swiper-container',{
touchMoveStopPropagation : false,
})
</script>
轉載原創文章請注明:文章轉載自:Swiper中文網 [https://www.swiper.com.cn]
本文地址:https://www.swiper.com.cn/api/touch/204.html