Firing an Event at the End of a Transition
If I close a window with a transition effect, such as:
win.close({
transition: Ti.UI.iPhone.AnimationStyle.FLIP_FROM_LEFT
});
Is there a way to trigger an event when this transition is complete? If I attach it to 'close' it fires immediately when close() is called.
2 Answers
-
can you trigger the other event based on the 'open' or 'focus' of the window that will be visible when this one is closed?
-
Not sure you can, but you could add a timeout with 500ms as I think the animation lasts.