iscroll框架在angularjs中用上下滑动有用,左右怎么不管用
1个回答
展开全部
iscroll会阻止默认行为:
options.preventDefault
Whether or not to preventDefault() when events are fired. This should be left true unless you really know what you are doing.
See preventDefaultException in the Advanced features for more control over the preventDefault behavior.
Default: true
所以设置属性:preventDefault:false;就可以了。
options.preventDefault
Whether or not to preventDefault() when events are fired. This should be left true unless you really know what you are doing.
See preventDefaultException in the Advanced features for more control over the preventDefault behavior.
Default: true
所以设置属性:preventDefault:false;就可以了。
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询