I have a simple web button
<button id="awesome" style="height:150px; width:500px"></button>
And using safari on the desktop, I can do real time things in response to when the button is held down using . . .
document.getElementById('awesome').onmousedown = function() {
responding = true;
// console.log("on");
};
document.getElementById('awesome').onmouseup = function() {
responding = false;
// console.log("off");
};
But when I run this on Safari on the iPhone, holding the button makes the copy paste menu appear, and I do not get the behaviour I desire. What do I modify to get the same intended response across platforms?