v/examples/js_dom_draw
playX f584e70cf2
js: add fixes for generic structures and functions; add promise API; refactor modules (#12575)
2021-11-25 16:49:53 +02:00
..
README.md
draw.js.v js: add fixes for generic structures and functions; add promise API; refactor modules (#12575) 2021-11-25 16:49:53 +02:00
index.html js,jsdom: Canvas & context API; Added TypeSymbol.is_js_compatible & temporary hacks for JS ifaces (#12526) 2021-11-20 21:28:11 +02: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.