mcongrove / ChariTi

Please do not use: this is out-dated
Other
113 stars 85 forks source link

add animation effect in view (transition:Ti.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT) #228

Open patel-pragnesh opened 10 years ago

patel-pragnesh commented 10 years ago

hi how to add animation left,right transition effect in iphone ?

when we add screen(core.js) is it possible assign this effect?

mohamedayed commented 10 years ago

i supposed you working with tabs then when u call tab.open()function it takes 2 parameters the first one is the window that you will open and the second one wich u asking about is the animation property tab.open(win,{transition:Titanium.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT}) if it dosen`t work for you then try to call the activetab property tab.activetab.open({transition:Titanium.UI.iPhone.AnimationStyle.FLIP_FROM_RIGHT})