Giter Club home page Giter Club logo

Comments (1)

zhangbobell avatar zhangbobell commented on May 10, 2024

见 README 说明,禁止滑动分为:禁止前向滑动(只允许后向滑动)、禁止后向滑动(只允许前向滑动)和禁止双向滑动。

这些定义在 Transition.direction 数据结构里面,direction 为允许滑动的方向。-1:允许前向滑动,1:允许后向滑动,0:禁止双向滑动。

另外,禁止滑动还可以在某一页禁止滑动或者全部页面禁止滑动。前者可以将 transition 放在 Page 定义里面,后者可以将 transition 放在全局配置里面。

这些定义在 Page全局配置 部分有说明。

后续将整理一些 DEMO 供大家参考。

from swiper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.