We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如果想禁止滑动,要怎么处理啊?
The text was updated successfully, but these errors were encountered:
见 README 说明,禁止滑动分为:禁止前向滑动(只允许后向滑动)、禁止后向滑动(只允许前向滑动)和禁止双向滑动。
这些定义在 Transition.direction 数据结构里面,direction 为允许滑动的方向。-1:允许前向滑动,1:允许后向滑动,0:禁止双向滑动。
另外,禁止滑动还可以在某一页禁止滑动或者全部页面禁止滑动。前者可以将 transition 放在 Page 定义里面,后者可以将 transition 放在全局配置里面。
这些定义在 Page 和 全局配置 部分有说明。
后续将整理一些 DEMO 供大家参考。
Sorry, something went wrong.
No branches or pull requests
如果想禁止滑动,要怎么处理啊?
The text was updated successfully, but these errors were encountered: