I need to alert when user touchend on screen(not specific elemnt) , but it’s not fired. How can I do it?
window.addEventListener('mouseup touchend touchcancel select', function(){
alert("touchcancel");
}, false)
I also tried
document.addEventListener('mouseup touchend touchcancel select', function(){
alert("touchcancel");
}, false)