Ionic move between 2 page with swipe left and right?


#1

when i want to back to main page left to right with swipe back


#2

guys plz help me. tnx a lot


#3

Please stop bumping your posts. It’s almost weekend and people aren’t around that - it’s impolite for all the people that are here and just don’t know an answer.

Also: I don’t understand your question, the sentence makes not much sense. What exactly do you want to do?


#4

im sorry sujan if dont like answer me, not answering me.
i want back form detail page to main with swipe left like all app : whatsApp, telegram and …
when you chat with another person and you want back to main swipe page to left and dont nessary click to back button


#5

Normally you swipe from left to right, or are you working on a RTL app?


#6

no when i use RTL app , my app is very bad, slide not working,
my app LTR now


#7

Then how should the swiping work?


#8

swipe not working for me. now must click on back button to back to main page


#9

i find it
you must change app.modules like here

IonicModule.forRoot(MyApp, {
        backButtonIcon: 'ios-arrow-back',
        backButtonText: 'Back',
        iconMode: 'ios',
        modalEnter: 'modal-slide-in',
        modalLeave: 'modal-slide-out',
        tabsPlacement: 'bottom',
        pageTransition: 'ios-transition',
        swipeBackEnabled: true,
        tabsHideOnSubPages: true
    }),

#10

is the relevant bit?


#11

yes. exactly and for swipe left to right use

modalEnter: ‘modal-slide-in’,
modalLeave: ‘modal-slide-out’,