路由改变前
$rootScope.$on('$stateChangeStart', function(event,next,nextParams,fromState){
});
进入控制器前
$scope.$on('$ionicView.beforeEnter', function() {
});
$rootScope.$on('$stateChangeStart', function(event,next,nextParams,fromState){
});
$scope.$on('$ionicView.beforeEnter', function() {
});
本文标题:ionic 进入控制器前
本文链接:https://www.haomeiwen.com/subject/odjfnttx.html
网友评论