mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
js: DOM API. Part 1 (#12296)
This commit is contained in:
7
examples/js_dom_draw/index.html
Normal file
7
examples/js_dom_draw/index.html
Normal file
@ -0,0 +1,7 @@
|
||||
<body class="main">
|
||||
<title>Drawing with mouse events</title>
|
||||
<input type="button" id="myButton" value="Clear canvas">
|
||||
<canvas style="border: 1px solid black;" width="720" height="480" id="myCanvas"></canvas>
|
||||
<script type="text/javascript" src="draw.js"></script>
|
||||
|
||||
</body>
|
Reference in New Issue
Block a user