Event for when page transition is 100% done

Is there an event for when the page transitions is 100% done? Because $routeChangeSuccess can be executed before the transition is complete right?

Have you tried this?

$scope.$on('$stateChangeSuccess', function() {
   // the view should be ready and transition done
});

Also, this landed in nightly builds.

http://ionicframework.com/docs/nightly/api/directive/ionView/

Wow! That looks really useful!
So $ionicView.afterEnter is fired when the animation is 100% completed?

Thats the idea. Still in nightlies right now, so you might want to test it out …hint hint hint :wink:

1 Like