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
Note: Only a member of this blog may post a comment.