Answer the question
In order to leave comments, you need to log in
How to change the styles of an SVG object depending on the color received?
All the best!
Please tell me how to implement the following:
There is a plot scheme in svg with a default value of fill: #008000;
how, for example, to change the cursor if the fill value changes to #FF0000?
Answer the question
In order to leave comments, you need to log in
using js, before that you need to mark up your svg file by adding classes or id to the necessary elements and manage them through js.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question