v/examples/js_dom_draw/index.html

7 lines
288 B
HTML

<body class="main">
<title>Drawing with mouse events</title>
<input type="button" id="clearButton" value="Clear canvas">
<canvas style="border: 1px solid black;" width="720" height="480" id="canvas"></canvas>
<script type="text/javascript" src="draw.js"></script>
</body>