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/README.md
Normal file
7
examples/js_dom_draw/README.md
Normal 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.
|
Reference in New Issue
Block a user