Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

NativePageTransitions

$
0
0

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 ?


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>