diff options
author | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2017-07-28 15:07:36 +0200 |
---|---|---|
committer | Ulrich-Matthias Schäfer <ulima.ums@googlemail.com> | 2017-07-28 15:07:36 +0200 |
commit | 1f8a1993dae082c689d3a014891f4c1f87882b5f (patch) | |
tree | fc25c60d1dbd000e73f7f1c645b70dd3fde1e2de /CHANGELOG.md | |
parent | 6faf2c538a90e99e5fadd8662955466ba4ebe6f1 (diff) | |
download | svg.js-1f8a1993dae082c689d3a014891f4c1f87882b5f.tar.gz svg.js-1f8a1993dae082c689d3a014891f4c1f87882b5f.zip |
improved SVG.on and el.on (#727)
- `SVG.on()` calls the listener in the context of the passed object. el.on always uses the svg.js object as context
- `SVG.on()` and `el.on()` now accepts multiple comma or space seperated events e.g. "mousedown, foo bar" (#727)
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index ca40b26..ebbc678 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -57,6 +57,8 @@ The document follows the conventions described in [“Keep a CHANGELOG”](http: - `SVG()` does not set a default size anymore - default constructor now has an optional `node` argument which is used to consruct the object e.g. `new SVG.Rect(rectNode)` - SVG.Elements constructor now tries to import svgjs:data from the node +- `SVG.on()` calls the listener in the context of the passed object. el.on always uses the svg.js object as context +- `SVG.on()` and `el.on()` now accepts multiple comma or space seperated events e.g. "mousedown, foo bar" (#727) ### Fixed - fixed a bug in clipping and masking where empty nodes persists after removal -> __TODO!__ |