首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >显示最后一项时禁用滑动(idangero.us)

显示最后一项时禁用滑动(idangero.us)
EN

Stack Overflow用户
提问于 2018-07-22 17:34:11
回答 0查看 90关注 0票数 0

我正在使用iDangero.us swiper插件,我想在屏幕上显示最后一个横幅时禁用swiper。check this link.

Image

代码语言:javascript
复制
var i = myApp.swiper(".mixed-swiper", {
        width: 626,
        spaceBetween: 22,
        slidesPerView: 2,
        freeMode: !1,
        autoplay: !1,
        loop:!1,
        freeModeMomentum: !0,
        freeModeMomentumBounce: !0,
        freeModeMomentumRatio: "1",
        freeModeMomentumVelocityRatio: "0.7",
        freeModeMomentumBounceRatio: "1",
        mousewheelControl: !0,
        mousewheelReleaseOnEdges: !1,
        mousewheelForceToAxis: !0,
        mousewheelInvert: !0,
        grabCursor:!0,
        breakpoints: {
            320: {
                width: 537
            }
        }
})
EN

回答

页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/51463764

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档