Svg Elements Appears In Dom But Are Invisible On Screen
I try to draw a stave with SVG using Vexflow and Raphael.js and when I load the page the SVG elements appear in the DOM but they don't appear on the screen. I checked if there is a
Solution 1:
If you add SVG elements via JavaScript you must specify namespace 'http://www.w3.org/2000/svg' for each element.
example
path = document.createElementNS('http://www.w3.org/2000/svg', 'path');
Post a Comment for "Svg Elements Appears In Dom But Are Invisible On Screen"