When I implement the pull-to-refresh plugin(https://github.com/owenliang/pullToRefresh), I need to lock the iscroll's scrolling-Y for certain direction when user pull up the "pull-down-to-refresh" image.
There is a API called disable/enable, but they affect all direction, MY need is to disable certain direction.
The code works only for my project, but the feature may be added to iscroll5's API, please take a look, thanks.
When I implement the pull-to-refresh plugin(https://github.com/owenliang/pullToRefresh), I need to lock the iscroll's scrolling-Y for certain direction when user pull up the "pull-down-to-refresh" image.
There is a API called disable/enable, but they affect all direction, MY need is to disable certain direction.
The code works only for my project, but the feature may be added to iscroll5's API, please take a look, thanks.