svg-pan-zoom-m
Version:
JavaScript library for panning and zooming an SVG image from the mouse, touches and programmatically.
13 lines (11 loc) • 433 B
HTML
<html>
<head>
<title>My Sample Project</title>
<script data-main="require-main" src="http://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.16/require.js"></script>
</head>
<body>
<h1>Demo for svg-pan-zoom: Using Require.js</h1>
<embed id="demo-tiger" type="image/svg+xml" style="width: 500px; height: 500px; border:1px solid black; " src="tiger.svg" />
</body>
</html>