wasm-bindgen/examples/duck-typed-interfaces
2024-03-04 11:25:46 +01:00
..
src [examples] duck-typed-interfaces - port to rust 2018 2018-12-11 08:45:26 +01:00
Cargo.toml Prepare v0.2.92 release (#3869) 2024-03-04 11:25:46 +01:00
duck-typed-interfaces.js examples: Add an example of using duck-typed interfaces 2018-09-11 16:29:25 -07:00
index.html Fix canvas is not a self closing tag. (#2408) 2021-01-04 09:31:01 -06:00
index.js chore: upgrade @wasm-tool/wasm-pack-plugin to 1.0.1 2019-08-27 18:20:24 +01:00
package.json chore: run npm audit fix --force on all examples 2023-07-05 22:49:51 +02:00
README.md Convert all examples to using wasm-pack 2019-01-17 08:37:32 -08:00
webpack.config.js Upgrade the webpack-based examples' npm dependencies (move to webpack 5) (#2651) 2021-08-10 09:43:42 -05: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.