nytimes / svg-crowbar

Extracts an SVG node and accompanying styles from an HTML document and allows you to download it all as an SVG file.
https://nytimes.github.io/svg-crowbar/
MIT License
839 stars 153 forks source link

Have a module version #23

Closed jehon closed 7 years ago

jehon commented 8 years ago

It would be great to have a "module" version, something that can be called:

downloadSVG(element)

This could be triggered by a custom button, that I would put myself statically in my page. When clicking that button, the function would be called to download the svg.

Thanks for your great product !!!

jehon commented 7 years ago

Too old, dropping it :-)