jsyg-zoomandpan
v1.1.1
Published
Zoom and pan features with JSYG framework
Downloads
878
Maintainers
Readme
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()