0 votes
110 views
asked in HTML5 by (8.2k points)

Hi all

   Html 5 mouse click event not working in iOS?

     I used the following code to get the mouse clicking evet

        document.addEventListener("mousedown",function(e){ MouseDownEvent(e); });

1 Answer

0 votes
answered by

HI admin

    document.addEventListener("mousedown",function(e){ MouseDownEvent(e); });

instead of this on use the below code

    canvas.addEventListener("mousedown",function(e){ MouseDownEvent(e); });

Categories

...