Open YuriGal opened 2 years ago
HI @YuriGal I cannot recall if that is possible, have you tried?
Thanks for the reply! I know it's been a while. It is currently possible with <a>
element, something like
svg.a({}, svg.otherelement()}
I see <g>
is listed as a container, but there is no svg.g()
method. It would be really helpfull for things like group transform.
Fun fact :-) I am using your library to create apps for Fitbit smartwatches otherwise incapable of creating dynamic SVG on the fly.
Hi @YuriGal I'm doing some work to update this repo, I'll address your issue. Thanks for your interest
@YuriGal I have added the g element function.
@JoeChapman thanks! Really appreciate the work you put into it.
No problem @YuriGal but I still need to publish new version to NPM. I am resurrecting this project.
1.1.0 published to npm @YuriGal. Please let me know if it still requires fixes
I realized this repo probably is not actively maintained anymore, but decided to give it a shot. Is there a possibility to create nested elements, e.g.