Animation 从右向左设置窗口动画[钛]
我想设置一个窗口的动画,使其向右滑动以打开,向左滑动以关闭。我该怎么做 我有以下代码,但ti不起作用:Animation 从右向左设置窗口动画[钛],animation,window,titanium,slide,Animation,Window,Titanium,Slide,我想设置一个窗口的动画,使其向右滑动以打开,向左滑动以关闭。我该怎么做 我有以下代码,但ti不起作用: var textWin = Ti.UI.createWindow({ width:400, height:400, backgroundColor:'white', borderColor:'blue', borderRadius:10, left:0, right:0, bottom:600, }); var slideRightopen = Titani
var textWin = Ti.UI.createWindow({
width:400,
height:400,
backgroundColor:'white',
borderColor:'blue',
borderRadius:10,
left:0,
right:0,
bottom:600,
});
var slideRightopen = Titanium.UI.createAnimation();
slideRightopen.right = 320;
slideRightopen.duration = 200;
var slideLeftClose = Titanium.UI.createAnimation();
slideLeftClose.right = 0;
slideLeftClose.duration = 300;
将底部设置为
600
将显示屏幕外的窗口窗口底部?