wasm-bindgen/examples/duck-typed-interfaces
2019-05-29 17:37:37 +01:00
..
src [examples] duck-typed-interfaces - port to rust 2018 2018-12-11 08:45:26 +01:00
Cargo.toml Bump to 0.2.45 2019-05-20 09:44:03 -07:00
duck-typed-interfaces.js examples: Add an example of using duck-typed interfaces 2018-09-11 16:29:25 -07:00
index.html examples: Add an example of using duck-typed interfaces 2018-09-11 16:29:25 -07:00
index.js Convert all examples to using wasm-pack 2019-01-17 08:37:32 -08:00
package.json chore: bump again 2019-05-29 17:37:37 +01:00
README.md Convert all examples to using wasm-pack 2019-01-17 08:37:32 -08:00
webpack.config.js Convert all examples to using wasm-pack 2019-01-17 08:37:32 -08:00

Duck-Typed Interfaces Example

This directory is an example of using duck-typed JS interfaces with wasm-bindgen.

You can build and run the example with:

$ npm run serve

and then opening up http://localhost:8080/ in a web browser should show a smiley face drawn on canvas by Rust and WebAssembly.