Plz help this Issue
I write below code my app.js but not work properly
document.addEventListener(“backbutton”, onBackKeyDown, false);
function onBackKeyDown() {
// Handle the back button
}
Plz help this Issue
I write below code my app.js but not work properly
document.addEventListener(“backbutton”, onBackKeyDown, false);
function onBackKeyDown() {
// Handle the back button
}
Read: Android 9 и событие backbutton
See: https://github.com/framework7io/framework7-cli/blob/master/create-app/templates/common/cordova-app.js#L23
I don’t understand this I’m beginner , you have Demo Code you Make ?!