Releases: bumbu/svg-pan-zoom
Releases · bumbu/svg-pan-zoom
v3.1.2 Fix isElement detection in Firefox
Build and bump
v3.1.1
v3.1.0 Allow altering pan from beforePan callback
- Allow altering pan from beforePan callback
- Removed getBoundingClientRect Firefox hack
v3.0.0
This is a major version release. Certain API methods calls are not compatible with version 2.3.x.
New API methods and configuration options are added.
Main changes are:
- Zoom is now relative to initial SVG zoom scale
- Improved viewport selection/creation. It is now possible to specify your own CSS selector for viewport.
- Ability to override mouse and touch events. An example is available how to use svg-pan-zoom with Hammer.js. Any other library that processes events may be used.
- Ability to cancel pan and zoom from before callbacks
destroy
API methodupdateBBox
API method for cases when SVG content changes and viewport bounding box is changedgetSizes
API method that exposes some internal state values (useful for customizations)refreshRate
configuration option. Usingwindow.requestAnimationFrame
by default (if available).
v2.3.11 Moved version 2 into a separate branch
No changes from 2.3.10
v2.3.10 Fix an issue with refreshRate option
This build does not contain all changes from master branch. It has only the fix for issue with refreshRate option.
Most probably it is the last build of version 2.x
Latest changes will be build into 3.x
v2.3.9 Fix out of bounds zooming. Now without artefacts
bump and build
v2.3.8 - Remove throttling for setCTM, because it was causing problems.
remove throttling from setCTM for now, because it causes problems. Fi…
v2.3.7 - further improvements to handling markers for multi-instance usage in IE
v2.3.6 Address IE bug for multi-instance
merge in bumbu's correction for instances