Put a button to download a svg

0

I have the tag:

 <svg id="codBarras"></svg>

It creates an SVG bar code for me. I need to know if there is a way to download this image with a button. If so, how do I make js pure?

    
asked by anonymous 12.09.2018 / 21:55

0 answers