jcblw / vsvg

〰️ A minimal virtual svg dom that allows some basic dom Node api methods.
https://www.npmjs.org/package/vsvg
14 stars 1 forks source link

SVG parser #3

Closed jcblw closed 9 years ago

jcblw commented 9 years ago

A simple parser should be made to handle innerHTML setters. So when that happens a accurate representation of the vsvg is created, this might also need to have the addition of text nodes.

jcblw commented 9 years ago

this also would help if someone is converting something rendered on the server then ran on a client, and the client needs to be dynamic.

jcblw commented 9 years ago

Seems cool but kinda overkill for what needs tho

http://ejohn.org/blog/pure-javascript-html-parser/#postcomment

jcblw commented 9 years ago

shipped in v1.5.0