How to provide the click event on line stroke element in canvas using javaScript ?

venkatkadiveti
Community Member

I am trying to provide the click for a line which is drawn by using canvas in Javascript.
When I click on the line it should be highlighted and click again highlight should be removed.

Please help on this.

Labels (1)
0 Likes