UNPKG

svg-pan-zoom-m

Version:

JavaScript library for panning and zooming an SVG image from the mouse, touches and programmatically.

48 lines (43 loc) 1.03 kB
<!DOCTYPE html> <html> <head> </head> <body> <h1>Demos for svg-pan-zoom</h1> <ul> <li> <a href="./demo/embed.html">embed</a> </li> <li> <a href="./demo/img.html">img</a> (svg-pan-zoom will not work with 'img' elements) </li> <li> <a href="./demo/inline.html">inline</a> </li> <li> <a href="./demo/multi-instance.html">multiple inline</a> </li> <li> <a href="./demo/object.html">object</a> </li> <li> <a href="./demo/custom-controls.html">Custom controls</a> </li> <li> <a href="./demo/resize.html">Resize SVG container on document resize</a> </li> <li> <a href="./demo/mobile.html">Custom events: Touch events support: pan, double tap, pinch</a> </li> <li> <a href="./demo/custom-event-handlers.html">Custom events: Enable zooming only on click, disable on mouse out</a> </li> <li> <a href="./demo/limit-pan.html">Limit pan</a> </li> <li> <a href="./demo/simple-animation.html">Pan animation</a> </li> </ul> </body> </html>