1
0
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:
playX
2021-10-27 23:18:09 +03:00
committed by GitHub
parent 0ff23eeb74
commit cfecb62299
17 changed files with 1032 additions and 2 deletions

View File

@ -0,0 +1,7 @@
Drawing with mouse events using DOM API. Adopted from MDN examples.
# Compiling
```
v -b js_browser examples/js_dom_draw/draw.v
```
Then you can open `index.html` with your favourite browser.