Open tcoopman opened 3 years ago
when setting class_ on a svg_elt "svg" I get the following error:
class_
svg_elt "svg"
Uncaught TypeError: setting getter-only property "className", same thing happens with viewBox
Uncaught TypeError: setting getter-only property "className"
viewBox
It seems that for svg, you need to set this differently: https://stackoverflow.com/questions/37943006/unable-to-change-class-name-of-svg-element
when setting
class_
on asvg_elt "svg"
I get the following error:Uncaught TypeError: setting getter-only property "className"
, same thing happens withviewBox
It seems that for svg, you need to set this differently: https://stackoverflow.com/questions/37943006/unable-to-change-class-name-of-svg-element