panzoom2 BETA
WORK IN PROGRESS
npm i panzoom2
Supported browsers
The project aim to support every browser that has more than 1% market share, plus IE11.
Internet Explorer 11
Required polyfills:
- Promise
- CustomEvent
- Object.assign
- Map
You can use the polyfill service from Financial Times
<script src="https://cdn.polyfill.io/v2/polyfill.minify.js?features=Promise,Object.assign,CustomEvent,Map&flags=gated&rum=0"></script>
Examples
- swipe
Showcase swipe detection and all the ways you can listen and unlisten to an event with panzoom.
- gestures
Showcase gesture recognition.
Inspiration drawn from
- Andrei Kashcha's panzoom
- Ulrich-Matthias Schäfer's svg.panzoom.js
- Eight Media's HAMMER.JS
- User-defined gestures for surface computing