I’m trying to change PageTransitions animation but i’m getting 2 animations at the same time : the original one and the new one using plugin.
Inside my controller :
$scope.$on('$ionicView.enter', function (event, viewData) {
var transitionDirection = viewData.direction !== "back" ? "left": "right";
window.plugins.nativepagetransitions.slide({
"direction": transitionDirection
});
});
$scope.$on("$ionicView.leave", function(event, viewData){
var transitionDirection = viewData.direction !== "back" ? "left": "right";
window.plugins.nativepagetransitions.slide({
"direction": transitionDirection
});
});
Anyone have any idea how to disable the first animation or how to solve this problem ?