Skip to content

Releases: bumbu/svg-pan-zoom

v3.2.9 Fix IE

13 Jun 22:05
Compare
Choose a tag to compare

Fix for browsers that don't work well with CSS transforms.
Apply transform both as attribute and as a CSS property.

v3.2.8 Remove redundant code from previous version

28 Apr 21:48
Compare
Choose a tag to compare

Remove redundant code from previous version

v3.2.7 Set transform via style attribute

24 Apr 12:34
Compare
Choose a tag to compare

Setting viewport transform via style attribute allows animating viewport transitions using CSS transitions.
Thanks to @mparpaillon for that idea and the pull-request.

v3.2.6 Allow zoomAtPointBy using an SVGPoint

25 Dec 14:05
Compare
Choose a tag to compare
  • Allow zoomAtPointBy using an SVGPoint
  • Fixes build with latest Node.js
  • Fixes licence name

v3.2.5 Fix previous release

12 Nov 23:07
Compare
Choose a tag to compare

Fix removal of events from eventListenerElement.
Pass eventListenerElement to customEventsHandler init and destroy methods.

v3.2.4 Add eventsListenerElement option

12 Nov 22:49
Compare
Choose a tag to compare

Add ability to specify an element that will listen for events by using eventsListenerElement option

v3.2.3 Add contain option

04 Aug 21:05
Compare
Choose a tag to compare

Add contain option. It is similar to fit but it will try to fill all the visible space using the smallest possible zoom.

v3.2.1 Improve viewBox attribute parsing by following specification

21 Jul 09:01
Compare
Choose a tag to compare

Improve viewBox attribute parsing by following specification.
Now viewBox is parsed right even if it contains spaces, commas or both.

v3.2.0 Fix bugs. Update mouse wheel scroll

30 Jun 08:16
Compare
Choose a tag to compare
  • Fix a bug where pan and zoom were not computed right when original SVG had top or left offset
  • Update mouse wheel scroll handling. Now it should be more consistent in all browsers and with apple touchpad scroll
  • Update default value for zoomScaleSensitivity from 0.2 to 0.1
  • Add an option to disable preventDefault for mouse events

v3.1.3 Fix using library as AMD module

14 Feb 07:00
Compare
Choose a tag to compare