Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Confirm on back button press

$
0
0

@nvirth wrote:

I would like to be able to cancel the backButtonPress event, but I don’t want to change its core behavior.

So, when the user is on specific pages, where poping the page would make the user lose its work, I would like to show the user a confirm message, like “if you leave now, all your work will be lost. [Leave] [Cancel]”.

I’ve found no solution for this here: registerBackButtonAction default action

How could I do this in ionic 3?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



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