Is there an event I can use that triggers on view shown?


#1

Hello all,

I found an event handler that triggers when a change in the view happens:

$scope.$on("$ionicView.enter", function() {...});

This fires when a certain view is starting to show. I would like to have an event listener that triggers at the end of the view change navigation. Is there such an event?

Thanks


#2

There must be a way, anyone?


#3

According to these docs: http://ionicframework.com/docs/api/directive/ionView/
there is an event $ionicView.afterEnter which triggers when “The view has fully entered and is now the active view.”