v/examples/js_dom_draw
playX 2b4154910c
jsdom, checker: add more methods for CanvasRenderingContext2D, fix interop check for JS methods (#12372)
2021-11-03 16:54:28 +02:00
..
README.md js: fix interfaces behaviour & disable struct deep copy for now (#12333) 2021-10-29 11:23:40 +03:00
draw.js.v jsdom, checker: add more methods for CanvasRenderingContext2D, fix interop check for JS methods (#12372) 2021-11-03 16:54:28 +02: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.js.v

Then you can open index.html with your favourite browser.