pinchzoom

A Javascript library providing multi-touch gestures for zooming and dragging on any DOM element.

MIT License

Downloads
43.3K
Stars
913
Committers
25
pinchzoom - 2.3.5 Latest Release

Published by sandstrom about 2 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/manuelstofer/pinchzoom/compare/v2.3.4...v2.3.5

pinchzoom - 2.3.4

Published by sandstrom over 5 years ago

Removed dist from source, if you need to access the dist files there are three options:

  • Access via NPM (this hasn't changed, i.e. it's not a breaking change)
  • Access via UNPKG
  • Build from the source
pinchzoom - 2.3.3

Published by sandstrom over 5 years ago

  • Updated minified version.
pinchzoom - 2.3.2

Published by sandstrom over 5 years ago

Changes since last release:

  • Fix undefined is not an object error
  • Add typescript typings
  • Minified version
  • Added callback options for any event
pinchzoom - 2.3.0

Published by sandstrom about 6 years ago

Changes since last release:

pinchzoom - 2.2.0

Published by sandstrom over 6 years ago

pinchzoom - 2.0.0

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;