mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-27 15:31:05 +00:00
Returns `Option<Window>` and can be used as a convenience to get a handle to the global `window` object.
Paint Example
This directory is an example of using the web-sys
crate for making a simple
painting program with all of the logic written in Rust.
You can build and run the example with:
$ ./build.sh
(or running the commands on Windows manually)
and then opening up http://localhost:8080/
in a web browser should show a
blank canvas on which you can draw.