【问题标题】:Starting and ending position of swiper?swiper的开始和结束位置?
【发布时间】:2021-05-04 06:36:03
【问题描述】:

我想知道是否有办法定位偏离中心的滑动器(滑块)。所以最初不是一直穿过屏幕,也不是在中心,而是偏移。谢谢!

【问题讨论】:

    标签: swiper swiper.js


    【解决方案1】:

    已解决!我需要添加参数:
    slidesOffsetAfter
    slidesOffsetBefore

    来源:https://swiperjs.com/swiper-api

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-01-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2014-08-20
      相关资源
      最近更新 更多