Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gagan-bansal/parse-svg

Parse svg string to svg DOM element
https://github.com/gagan-bansal/parse-svg

parser svg svg-dom-element

Last synced: about 7 hours ago
JSON representation

Parse svg string to svg DOM element

Awesome Lists containing this project

README

        

# parse-svg

Parse svg string to svg DOM element. Original source code is from [bobince](http://stackoverflow.com/a/3642265/713573)

## Getting Started
include parse-svg.min.js in your app.

``` ```

It creates global variable **parseSVG** function.

usage:
``` var svgEle = parseSVG('svg string');```

example:
```javascript
var myPathEle = parseSVG(
''
);
```

## License
Copyright (c) 2014 Gagan Bansal
Licensed under the MIT license.