02-25-2019 23:43
02-25-2019 23:43
On my clock face, I have following in index.gui
<image id="container" pointer-events="visible" fill="green" href="images/heart.png" x="0" y="0" width="25" height="25" />
In index.js I have
document.getElementById("container").onmousedown = function(e) {
console.log("click");
}log statement work on simulator for every I click I do.
But on device, it seldom gets printed.
Any pointers on this ?
Answered! Go to the Best Answer.
Best Answer02-26-2019 09:48
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
02-26-2019 09:48
Perhaps try a <rect> element on top, and take the click from that.
Best Answer02-26-2019 09:48
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
02-26-2019 09:48
Perhaps try a <rect> element on top, and take the click from that.
Best Answer