jo
jo copied to clipboard
joStack should have a animateDoneEvent event
This would allow you to preform an action when the joStack is done animating( CSS transition) the current screen. I created a new event (animateDoneEvent) in my fork of jo for this purpose.
I use it to re-enable the back button so my IOS users can not click an the back button during a screen transition.
this.stack.animateDoneEvent.subscribe( function(){
console.debug("animate done enable back");
MobileApp.nav.back.enable();
});
This is a good suggestion, thanks. :)