diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-11-08 19:49:49 +0100 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2018-11-08 19:49:49 +0100 |
commit | 09e7d0b595da5a2e86e375ea4bd9bd7aba02c588 (patch) | |
tree | ae4d2df2887187bed13756c0cc79657cca680cf2 /CHANGELOG.md | |
parent | 8c81fb7c2e6e9842570d27a84b1a1c600c82c16b (diff) | |
download | svg.js-09e7d0b595da5a2e86e375ea4bd9bd7aba02c588.tar.gz svg.js-09e7d0b595da5a2e86e375ea4bd9bd7aba02c588.zip |
added possibility to pass in additional attribues to element creators (#796)
e.g.
- `canvas.rect({x:100})` or
- `canvas.rect(100, 100, {x:100})`
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index c88389e..b8c78c7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,7 +27,8 @@ The document follows the conventions described in [“Keep a CHANGELOG”](http: - added `Dom` which is a baseclass to get dom abilities - added `round()` which lets you round attribues from a node - added `ax(), ay(), amove()` to change texts x and y values directly (#787) -- added possibility to pass attribues into a constructor like: `new SVG.Rect({width:100})` +- added possibility to pass attributes into a constructor like: `new SVG.Rect({width:100})` +- added possibility to pass in additional attribues to element creators e.g. `canvas.rect({x:100})` or `canvas.rect(100, 100, {x:100})` (#796) ### Removed - removed `SVG.Array.split()` function |