You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First and foremost, thank you guys for your hard work I am loving it, it's awesome !
Is there currently a way to pause the state change to enable a "transition-out" of the current view for x millisecond ( the time the "transition-out" takes ) and resume the state change ones it's done ? I have tried $stateChangeStart event.preventDefault() but it didn't stop the transition the view and the scope was destroyed.
The text was updated successfully, but these errors were encountered:
+1 for hooking pre and post transition events. I'm fairly new to Angular, but it seems that a promise chain where pre and post transition interceptors can be injected (much like the http interceptor) would work very well.
The animation wouldn't really pause the transition at the point $stateChangeStart is fired though, as you'd definitely want all the background work to prepare the new state to continue rather than waiting for the animation to complete before even starting that work.
First and foremost, thank you guys for your hard work I am loving it, it's awesome !
Is there currently a way to pause the state change to enable a "transition-out" of the current view for x millisecond ( the time the "transition-out" takes ) and resume the state change ones it's done ? I have tried $stateChangeStart event.preventDefault() but it didn't stop the transition the view and the scope was destroyed.
The text was updated successfully, but these errors were encountered: