v/examples/js_dom_draw
Delyan Angelov 8fd66994c7
ci: comment out the `main` body in draw.js.v for now
2021-10-28 02:18:38 +03:00
..
README.md js: DOM API. Part 1 (#12296) 2021-10-27 23:18:09 +03:00
draw.js.v ci: comment out the `main` body in draw.js.v for now 2021-10-28 02:18:38 +03:00
index.html js: DOM API. Part 1 (#12296) 2021-10-27 23:18:09 +03:00

README.md

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.