//阻尼系数
var deceleration = mui.os.ios?0.003:0.0009;
$('.mui-scroll-wrapper').scroll({
bounce: true,
indicators: true, //是否显示滚动条
deceleration:deceleration
});
0.003和0.0009分别代表什么呀?
//阻尼系数
var deceleration = mui.os.ios?0.003:0.0009;
$('.mui-scroll-wrapper').scroll({
bounce: true,
indicators: true, //是否显示滚动条
deceleration:deceleration
});
0.003和0.0009分别代表什么呀?
耀眼de星火 (作者)
明白了,谢谢,昨天晚上脑抽了,没看出来是一个判断平台然后分配阻尼系数的语句......
2015-11-14 16:20