Releases: manuelstofer/pinchzoom
Releases · manuelstofer/pinchzoom
2.3.5
What's Changed
- Safari / Firefox race condition by @strygo in #120
- Declare
IPinchZoomOptions
so it can be referenced outside the const… by @AaronLayton in #127 - Added
destroy
method for thePinchZoom
instance by @oleksandr-danylchenko in #129
New Contributors
- @strygo made their first contribution in #120
- @AaronLayton made their first contribution in #127
- @oleksandr-danylchenko made their first contribution in #129
Full Changelog: v2.3.4...v2.3.5
2.3.4
2.3.3
2.3.2
2.3.0
2.2.0
2.1.0
2.0.0
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;