Steve SVG.js Studies

To import it, I used an iframe in my index.html file. Then, I used contentDocument to get the XML. ChildNodes[1] and innerHTML to read the xml out. To give it to SVG.js I used the SVG.js function draw.svg then gave the xml as a string.

  • steve-svg.js-studies.txt
  • Last modified: 2022/12/29 19:24
  • by steve.wang