Pan-n-Zoom A micro library to enable zoom and pan on any DOM or SVG element with mouse and touch events Install npm install pan-n-zoom Usage import * as panzoom from 'pan-n-zoom'; const element = document.querySelector('#elementid'); panzoom.init(element);