pan-n-zoom
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

Pan-n-Zoom

enter image description here

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);

Package Sidebar

Install

npm i pan-n-zoom

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

111 kB

Total Files

17

Last publish

Collaborators

  • abhishekkhandait