How can I switch to another view in ionic make $ state.go without transition animation?

Well, I have an ionic app based on the side menu.

The default animation for any transition to the view is a slide from right to left; but for multiple views I need transition animation to be none (no animation)

I can’t get how to do this on any documentation at all

+8
angularjs ionic-framework ionic
source share
1 answer

Well, I got my answer for the IRC ion channel

he seams several things changed in version 1.0 beta 14 ionic

so they said they worked fine with me, adding options for the next view, using the $ ionicHistory provider, which is only available in beta14 now and hopefully will continue for future versions

$ionicHistory.nextViewOptions({ disableAnimate: true, disableBack: true }); 

then we can call $ state.go

+18
source share

All Articles