Tizen. The work of JS when pressing “Back”

169 Views Asked by At

JS not working (not displaying the message "back") if show keyboard and press "back". Works with the second press - when keyboard is hidden.

document.addEventListener("tizenhwkey", function(ev) {
if (ev.keyName == "back") {
alert ('back')
}
})
0

There are 0 best solutions below