panzoom2 BETA
WORK IN PROGRESS
npm i panzoom2
panzoom 2 on npm
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
Overview
- 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