@thesoulfresh/pan-z

1.2.9 • Public • Published

A Pan/Zoom library

Pan-Z is a framework agnostic, 0 dependency, mobile and desktop friendly, GPU accelerated and easy to use pan/zoom library with an programmatic API.

docs + demos

Install

npm install @thesoulfresh/pan-z

Usage

    import PanZ from '@thesoulfresh/pan-z'

    // Attach pan/zoom functionality to an HTML element.
    const pz = new PanZ(element);

    // Remove pan/zoom functionality
    pz.destroy();

Package Sidebar

Install

npm i @thesoulfresh/pan-z

Weekly Downloads

12

Version

1.2.9

License

MIT

Unpacked Size

544 kB

Total Files

11

Last publish

Collaborators

  • thesoulfresh