Add event listener on SVG element

I was facing problem while adding event listener to an svg element.

Then I added event listeners to both svg and path tags, and it worked.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *