I
I
ilya4042017-05-03 10:15:10
css
ilya404, 2017-05-03 10:15:10

SVG manipulation with JS without frameworks?

Greetings!
We need to implement something similar to Paint on svg on the web. On click, I take its coordinates in the window and add a child element to the svg:
49a711162739407c88975d60dd390515.png
Problem: it does not render, although it appears in the DOM as it should. DevTools shows empty styles. What to do, friends?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
svetlov97, 2017-05-03
@svetlov97

Can I see the code you are using please.
I advise you to read a wonderful article on MDN about SVG , here is the link .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question