Closed LauraSempere closed 7 years ago
According to demo example, if we pass a class to create a svg dom element, the class is not applied to the generated dom.
e.g.
(c/container :id "some-id" :class "some-class")
The result code is
<svg:svg id="some-id">...</svg:svg>
Hi, sorry about the delay responding this. You should use :svg/class instead of :class to get this working. I'm closing this, but feel free to reopen if the solution does not work.
:svg/class
:class
Reference:
According to demo example, if we pass a class to create a svg dom element, the class is not applied to the generated dom.
e.g.
The result code is