diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2017-07-25 09:14:48 +0200 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2017-07-25 09:14:48 +0200 |
commit | d6d389133409b315bc1b74752f58ef2647033bb9 (patch) | |
tree | c64c68abeef515ed1dc20a402d304b4609d8767e /CHANGELOG.md | |
parent | bc9bfb6025e826b0ee6c827f1a356995d7f05d4c (diff) | |
download | svg.js-d6d389133409b315bc1b74752f58ef2647033bb9.tar.gz svg.js-d6d389133409b315bc1b74752f58ef2647033bb9.zip |
Lots of breaking changes. Read below! (#646, #716)
- added `SVG.HTMLNode` which is the object wrapped around html nodes to put something in them
- moved `defs()` method from `SVG.Parent` to `SVG.Element`
- `SVG()` can be called with css selector, node or svg string, now. Without an argument it creates a new `SVG.Doc()` (#646)
- `add()`, `put()`, `addTo()`, `putIn()` now excepts all arguments accepted by `SVG()`
- `SVG.Nested` is not `overflow:visible` by default
- all `SVG.*` objects now can have a node as parameter when constructing
- `SVG()` does not set a default size anymore
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index c4109f0..6a95fb3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ The document follows the conventions described in [“Keep a CHANGELOG”](http: ### Added - added `SVG.$()` and `SVG.$$()` which will query for one/multiple elements - added `text()` method to `SVG.Path` to create a textPath from this path (#705) +- added `SVG.HTMLNode` which is the object wrapped around html nodes to put something in them - added `random` option and `randomize()` method to `SVG.Color` -> __TODO!__ - added `precision()` method to round numeric element attributes -> __TODO!__ @@ -48,6 +49,12 @@ The document follows the conventions described in [“Keep a CHANGELOG”](http: - renamed `fill()` method on `SVG.Gradient` and `SVG.Pattern` to `url()` (#708) - renamed `previous()` method to `prev()` - changed `childNodes` to `children` (same for `firstChild`, `lastChild`, ...) (#710) +- moved `defs()` method from `SVG.Parent` to `SVG.Element` +- `SVG()` can be called with css selector, node or svg string, now. Without an argument it creates a new `SVG.Doc()` (#646) +- `add()`, `put()`, `addTo()`, `putIn()` now excepts all arguments accepted by `SVG()` +- `SVG.Nested` is not `overflow:visible` by default +- all `SVG.*` objects now can have a node as parameter when constructing +- `SVG()` does not set a default size anymore ### Fixed - fixed a bug in clipping and masking where empty nodes persists after removal -> __TODO!__ |