A Javascript library providing multi-touch gestures for zooming and dragging on any DOM element.
MIT License
IPinchZoomOptions
so it can be referenced outside the const… by @AaronLayton in https://github.com/manuelstofer/pinchzoom/pull/127
destroy
method for the PinchZoom
instance by @oleksandr-danylchenko in https://github.com/manuelstofer/pinchzoom/pull/129
Full Changelog: https://github.com/manuelstofer/pinchzoom/compare/v2.3.4...v2.3.5
Published by sandstrom over 5 years ago
Published by sandstrom over 5 years ago
Changes since last release:
undefined is not an object
errorPublished by sandstrom about 6 years ago
Changes since last release:
Published by sandstrom over 6 years ago
Published by sandstrom over 6 years ago
Published by sandstrom about 7 years ago
jQuery is no longer a dependency (breaking)
// OLD
new PinchZoom($('#my-id'), options);
// NEW
new PinchZoom(document.querySelector('#my-id')), options);
RTP namespace is removed (breaking)
// OLD
new RTP.PinchZoom(myEl, options);
// NEW
new PinchZoom(myEl, options);
To make it available under the old namespace, use this snippet:
if (!window.RTP) { window.RTP = {}; }
window.RTP.PinchZoom = window.PinchZoom;