Hello,
i want to ask if there is a way to change the fill color of an iq-shape Element with the setProperty Command in Javascript. I have tried it with this code but unfortunately it doesn't work:
    const cancelable = shmi.onReady( {
      controls: {
        Kreis: ".Kreis"
      }
    }, function (resolved) {
      resolved.controls.Kreis.shape-svg.setProperty("fill", "#ff0000", "important");
    } );
Â
I know, that I could use a Stylesheet to do this but in my project I need to change the color of multiple elements frequently and I don't want to create Stylesheets for all of them if there is a way to do it like this.
Â
Thanks for Helping