You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the docs for elm/file, there is an example usage of saving SVG content as a file. Initially, I understood this to mean that I could generate SVG markup with elm/svg and use elm/file to save it locally, which is my exact use case. However, it doesn’t seem possible to get the SVG nodes to render to a String, which is required by File.download. Am I thinking about the problem incorrectly?
The text was updated successfully, but these errors were encountered:
Ah, I meant generating a String that happens to have SVG content. The elm/svg library does not give that capability at the moment though. Can you document your usage scenario on that repo? It would be helpful to know what you are showing, how it is displayed, why you want to save it, etc.
In the docs for elm/file, there is an example usage of saving SVG content as a file. Initially, I understood this to mean that I could generate SVG markup with
elm/svg
and useelm/file
to save it locally, which is my exact use case. However, it doesn’t seem possible to get the SVG nodes to render to a String, which is required byFile.download
. Am I thinking about the problem incorrectly?The text was updated successfully, but these errors were encountered: