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
freeze() 是冻结住页面不让他滑动,可否设计成freeze(true,false),表示成可以向左滑动但是不能往右边滑动。。 原来我也写过这种类似的,但是写的太差了,,作者这个实在是太好用了,谢谢!!
The text was updated successfully, but these errors were encountered:
你说的这种场景不常用,pageSwitch设计成页面可以时时响应用户拖动,如果突然莫名只能向一方拖动,有点奇怪。 要达到你说的效果,可以调用freeze冻结页面,然后根据用户手势来切换页面(例如Zepto封装的swipeLeft swipeRight事件),调用prev或者next方法。
Sorry, something went wrong.
感觉当父pageSwitch嵌套子pageSwitch的时候比较有用。。子pageSwitch滑到不能滑的时候会滑父pageSwitch。。。
No branches or pull requests
freeze() 是冻结住页面不让他滑动,可否设计成freeze(true,false),表示成可以向左滑动但是不能往右边滑动。。 原来我也写过这种类似的,但是写的太差了,,作者这个实在是太好用了,谢谢!!
The text was updated successfully, but these errors were encountered: