uxebu/bonsai

Can't Modify SVG "class"Attribute

Opened this issue · 0 comments

I need to be able to modify the "class" attribute of an SVG item, so as to apply CSS rules to it. Setting the attribute via the "attr" method doesn't do this. Does it exist elsewhere in the API?