controlInverse
设置为true时控制方向倒转。
controlInverse参数
- 类型:
- boolean
- 默认:
- false
- 举例:
- true
- 启用版本:
- 3.0.0
效果演示
Swiper1
Swiper2
使用方法示例
<script>
var Swiper1 = new Swiper('#swiper-container1',{
})
var Swiper2 = new Swiper('#swiper-container2',{
initialSlide :2,
})
Swiper1.params.control = Swiper2;
Swiper1.params.controlInverse=true;
</script>
转载原创文章请注明:文章转载自:Swiper中文网 [https://3.swiper.com.cn]
本文地址:https://3.swiper.com.cn/api/Controller/2015/0308/217.html