Why does mousedown event listener run through function?

前端 未结 2 587
误落风尘
误落风尘 2021-01-26 02:28

I drew a canvas, and then with the code

canvas.addEventListener(\"mousedown\", clicked(event), false);

I added an event listener to run clicked

2条回答
提交回复
热议问题