You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.1 KiB
29 lines
1.1 KiB
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Zoom Slider</title>
|
|
<meta name="description" content="TypeScript: HTML controls for panning and zooming that are shown in front of a Diagram." />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<!-- Copyright 1998-2019 by Northwoods Software Corporation. -->
|
|
|
|
<script src="../samples/assets/require.js"></script>
|
|
<script src="../assets/js/goSamples.js"></script>
|
|
<!-- this is only for the GoJS Samples framework -->
|
|
<link rel='stylesheet' href='ZoomSlider.css' />
|
|
<script id='code'>
|
|
require(["ZoomSliderScript"], function(app) {
|
|
app.init();
|
|
});
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="sample" style="position: relative;">
|
|
<div id="myDiagramDiv" style="border: solid 1px black; width:400px; height:400px"></div>
|
|
<p>
|
|
This sample demostrates the use of the ZoomSlider extension.
|
|
When using the ZoomSlider extension, the diagram div must always be a direct child
|
|
of a div using <code>position: relative</code> or <code>position: absolute</code>.
|
|
</div>
|
|
</body>
|
|
</html> |