vvaldersteins / ngx-svg

Angular library for creating SVG elements.
MIT License
24 stars 10 forks source link

[Question] How to save the generate/displayed SVG #68

Open jaytonic opened 2 years ago

jaytonic commented 2 years ago

Hi,

I've started to use your wrapper with some success. I'm displaying several paths inside a container.

I'm wondering what would be the easiest way to get the generated of the container and allow my user to save it as SVG? I guess it should be possible since there is an "export" on svgjs: https://svgjs.dev/docs/3.0/importing-exporting/ ?