HTML5 Canvas Mouse Events

How to handle mouse events on your Canvas?

Possible Mouse Events on Canvas

  • mousedown / mouseup
  • mouseover / mouseout
  • mousemove
  • click
  • dbclick

Html