Created
November 21, 2016 08:21
-
-
Save rubinchyk/9b5173b46e77f2e0043c71011347591a to your computer and use it in GitHub Desktop.
Ionic1: Determine back button
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Determine back button | |
$ionicPlatform.registerBackButtonAction(function () { | |
// navigator.app.exitApp(); | |
// if (condition) { | |
// navigator.app.exitApp(); | |
// } else { | |
// debugger; | |
// } | |
}, 100); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment