Animation control on $ionicGesture.on swipe up


#1

Hi,
I am new to angularjs and ionic and I got a question.
I started my app with the ionic side menu template and I want to swipe to go visit my next or previous page.
I used $ionicGesture.on(‘swipeup’, function(event){…} like this example


but I replaced swiperight with swipeup,

Everything looks good expect the “Way of moving between pages” !

This means that when I swipe up to go to next page, it looks like it comes (next page) from right side not from bottom side !!

Is there a way that can I control this animation between pages (I want next page to look like come from bottom, not from left or right) ?
I apologize to my poor drafting, but English is not my native.

Thanks in advance :slight_smile:


#2

@Calendee thank you very much, your example is very helpful.

I wonder if you could help me with this?


#3

Currenlty, Ionic only supports slide-in-up on modals. So, you can’t do it right now.