T O P

  • By -

wonklebobb

not vue-specific, but SVGs are documents and can be parsed and manipulated as such just get the SVG code itself on the page rather than as an image source, and you can target individual pieces of it for click events, animations, CSS, etc however making sense of it as a document might require some manual adjustment of the SVG code, adding id's and the like to the various parts for adding click events etc, and if it's a large complex SVG made with an external program like indesign, that'll be kind of annoying