Transition between tab
is it possible to do a transition when opening tabs? I've yet to see an example of doing this on Kitchen Sink.
I'm using this to open tabs.
tabGroup.setActiveTab(tabGroup.tabs[2]);
Thanks in advance
2 Answers
-
Have you tried
tabGroup.setActiveTab(2); // index here is enough, no need to reference the tab tabGroup.open({ transition:Ti.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT });
?
Good luck.
-
setActiveTab(2); tabGroup.open({ transition:Ti.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT });
Doesn't seem to work.
Is there no way to set the tab groups transition before activating the tab?