]> source.dussan.org Git - svg.js.git/commit
added possibility to pass in additional attribues to element creators (#796) 924/head
authorUlrich-Matthias Schäfer <ulima.ums@googlemail.com>
Thu, 8 Nov 2018 18:49:49 +0000 (19:49 +0100)
committerUlrich-Matthias Schäfer <ulima.ums@googlemail.com>
Thu, 8 Nov 2018 18:49:49 +0000 (19:49 +0100)
commit09e7d0b595da5a2e86e375ea4bd9bd7aba02c588
treeae4d2df2887187bed13756c0cc79657cca680cf2
parent8c81fb7c2e6e9842570d27a84b1a1c600c82c16b
added possibility to pass in additional attribues to element creators (#796)

e.g.
- `canvas.rect({x:100})` or
- `canvas.rect(100, 100, {x:100})`
26 files changed:
CHANGELOG.md
dist/svg.js
src/elements/A.js
src/elements/Bare.js
src/elements/Circle.js
src/elements/ClipPath.js
src/elements/Doc.js
src/elements/Ellipse.js
src/elements/G.js
src/elements/Gradient.js
src/elements/Image.js
src/elements/Line.js
src/elements/Marker.js
src/elements/Mask.js
src/elements/Path.js
src/elements/Pattern.js
src/elements/Polygon.js
src/elements/Polyline.js
src/elements/Rect.js
src/elements/Style.js
src/elements/Symbol.js
src/elements/Text.js
src/elements/TextPath.js
src/elements/Tspan.js
src/elements/Use.js
src/utils/adopter.js