diff options
author | wout <wout@impinc.co.uk> | 2014-08-01 15:28:25 +0200 |
---|---|---|
committer | wout <wout@impinc.co.uk> | 2014-08-01 15:28:25 +0200 |
commit | 4bfb6258c36e3e9c2a6eacb9cf22227a1bfea4bb (patch) | |
tree | fe1b0cde7067621531f6acd8cbd69a5887a87329 /README.md | |
parent | f7418dc57b7eacea81ed42a796ec005d1d5bf203 (diff) | |
download | svg.js-4bfb6258c36e3e9c2a6eacb9cf22227a1bfea4bb.tar.gz svg.js-4bfb6258c36e3e9c2a6eacb9cf22227a1bfea4bb.zip |
Updated README
Diffstat (limited to 'README.md')
-rwxr-xr-x | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1025,13 +1025,15 @@ Exporting the full generated SVG, or a part of it, can be done with the `svg()` draw.svg() ``` +Exporting works on all elements. + Importing is done with the same method: ```javascript draw.svg('<g><rect width="100" height="50" fill="#f06"></rect></g>') ``` -This method works on any element that inherits from `SVG.Parent`, which is basically every element that can contain other elements. +Importing works on any element that inherits from `SVG.Parent`, which is basically every element that can contain other elements. `getter`__`returns`: `string`__ |