Quote from
asmat on August 1, 2020, 11:42 pm
To be able to implement your own functionality, you first need to disable exiting the app when the back button is pressed.
BEGINJS
document.addEventListener("backbutton", onBackKeyDown, false);
function onBackKeyDown(e) { e.preventDefault();
alert('Back Button is Pressed!');
}
ENDJS
To be able to implement your own functionality, you first need to disable exiting the app when the back button is pressed.
BEGINJS
document.addEventListener("backbutton", onBackKeyDown, false);
function onBackKeyDown(e) { e.preventDefault();
alert('Back Button is Pressed!');
}
ENDJS
fmorales has reacted to this post.