1.1.1 • Published 3 years ago

jsyg-zoomandpan v1.1.1

Weekly downloads
52
License
MIT
Repository
github
Last release
3 years ago

JSYG.ZoomAndPan

Zoom and Pan features with JSYG framework

Demo

http://yannickbochatay.github.io/JSYG.ZoomAndPan/

Installation

npm install jsyg-zoomandpan

Example with webpack/babel

import ZoomAndPan from "jsyg-zoomandpan"

let zap = new ZoomAndPan("#mySVGContainer")
zap.enable()
zap.mouseWheelZoom.enable()
zap.resizable.enable()
zap.mousePan.enable()