Learn the powerful enterprise adaptable database:

Getting Started With ADABAS & Natural

Thursday, June 1, 2017

102D Ionic VIEW Life Cycle


.
ionicv1 tutorial
102D Ionic VIEW Life Cycle
LOADED
$scope.$on('$ionicView.loaded', function(){
 //do something
});
ENTER
$scope.$on('$ionicView.enter', function(){
 //do something
});
LEAVE
$scope.$on('$ionicView.leave', function(){
 //do something
});
BEFOREENTER
$scope.$on('$ionicView.beforeEnter', function(){
 //do something
});
AFTERENTER
$scope.$on('$ionicView.afterEnter', function(){
 //do something
});
BEFORELEAVE
$scope.$on('$ionicView.beforeLeave', function(){
 //do something
});
AFTERLEAVE
$scope.$on('$ionicView.afterLeave', function(){
 //do something
});
UNLOADED
$scope.$on('$ionicView.unloaded', function(){
 //do something
});

.

No comments:

Post a Comment