Releases: bumbu/svg-pan-zoom
v3.2.9 Fix IE
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
Remove redundant code from previous version
v3.2.7 Set transform via style attribute
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
- Allow zoomAtPointBy using an SVGPoint
- Fixes build with latest Node.js
- Fixes licence name
v3.2.5 Fix previous release
Fix removal of events from eventListenerElement
.
Pass eventListenerElement
to customEventsHandler
init
and destroy
methods.
v3.2.4 Add eventsListenerElement option
Add ability to specify an element that will listen for events by using eventsListenerElement
option
v3.2.3 Add contain option
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
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
- 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
Build and bump