I have an on-tap event on a canvas:
<canvas on-tap="onTap()" .... ></canvas>
I want to now where the user has clicked (coordinates).
I found this: https://forum.ionicframework.com/t/touch-coordinates-touchmove/8971
but the function pointerCoord needs an event argument, which I don’t have (onTap() has no args).
How can I access the current event?
Or is there another way to get the tap coordinates?