子琪
子琪
  • 发布:2017-03-13 19:10
  • 更新:2017-03-22 10:15
  • 阅读:1248

webview跳转,plus.webview.startAnimation

分类:HTML5+

plus.webview.startAnimation方式进行跳转,
plus.webview.startAnimation({
view: fromWebview,
styles: {
fromLeft: '0%',
toLeft: '-100%'
},
action: 'none',
duration:500
}, {
view: toWebview,
styles: {
fromLeft: '100%',
toLeft: '0%'
},
action: 'none',
duration:500
},
function(e) {
});

这种方式可以设定动画duration吗,感觉有点太快了!

2017-03-13 19:10 负责人:无 分享
已邀请:
wersionlovewz

wersionlovewz - 修改几次了

同样的问题,为什么没有控制动画的时间呢。。。

该问题目前已经被锁定, 无法添加新回复