Skip to content

Releases: bumbu/svg-pan-zoom

v3.1.2 Fix isElement detection in Firefox

13 Feb 16:12
Compare
Choose a tag to compare

v3.1.1

22 Jan 20:11
Compare
Choose a tag to compare

Move uniwheel from devDependencies to dependencies in package.json

v3.1.0 Allow altering pan from beforePan callback

05 Jan 12:00
Compare
Choose a tag to compare
  • Allow altering pan from beforePan callback
  • Removed getBoundingClientRect Firefox hack

v3.0.0

27 Nov 07:02
Compare
Choose a tag to compare

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 method
  • updateBBox API method for cases when SVG content changes and viewport bounding box is changed
  • getSizes API method that exposes some internal state values (useful for customizations)
  • refreshRate configuration option. Using window.requestAnimationFrame by default (if available).

v2.3.11 Moved version 2 into a separate branch

23 Nov 14:05
Compare
Choose a tag to compare

v2.3.10 Fix an issue with refreshRate option

02 Nov 13:14
Compare
Choose a tag to compare

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

16 Sep 21:51
Compare
Choose a tag to compare

v2.3.8 - Remove throttling for setCTM, because it was causing problems.

19 Aug 02:01
Compare
Choose a tag to compare
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

19 Aug 00:39
Compare
Choose a tag to compare

v2.3.6 Address IE bug for multi-instance

18 Aug 19:50
Compare
Choose a tag to compare
merge in bumbu's correction for instances