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
It looks like currently, Jazzicon requires the DOM APIs, such as createElementNS, appendChild, ... etc.
This means that the library can only be used in the context of a web browser, even though in theory, the SVG string could be used in other contexts (such as generated on the backend...)
I quickly peaked through the code but could not see an easy way to generate a "svg string". Maybe I missed something?
The text was updated successfully, but these errors were encountered:
Hello! i want to use it in a react native project for mobile, so the dom element generated is not useful for me. @julien51 did you find a quick solution?
I also encountered this problem. I want to get pure SVG, not SVG object. Only the url of the SVG can be assigned to the img element, and the size of the SVG can be responsively controlled using media queries
It looks like currently, Jazzicon requires the DOM APIs, such as
createElementNS
,appendChild
, ... etc.This means that the library can only be used in the context of a web browser, even though in theory, the SVG string could be used in other contexts (such as generated on the backend...)
I quickly peaked through the code but could not see an easy way to generate a "svg string". Maybe I missed something?
The text was updated successfully, but these errors were encountered: