wasm-bindgen/examples
Alex Crichton 3efe51eb8b Reorganize and rewrite examples
This commit is a large-ish scale reorganization of our examples. The
main goal here is to have a dedicated section of the guide for example,
and all examples will be listed there. Each example's `README` is now
just boilerplate pointing at the guide along with a blurb about how to
run it.

Some examples like `math` and `smorgasboard` have been deleted as they
didn't really serve much purpose, and others like `closures` have been
rewritten with `web-sys` instead of hand-bound bindings.

Overall it's hoped that this puts us in a good and consistent state for
our examples, with all of them being described in the guide, excerpts
are in the guide, and they're all relatively idiomatically using
`web-sys`.
2018-09-20 16:45:30 -07:00
..
add Reorganize and rewrite examples 2018-09-20 16:45:30 -07:00
canvas Reorganize and rewrite examples 2018-09-20 16:45:30 -07:00
char Reorganize and rewrite examples 2018-09-20 16:45:30 -07:00
closures Reorganize and rewrite examples 2018-09-20 16:45:30 -07:00
console_log Reorganize and rewrite examples 2018-09-20 16:45:30 -07:00
dom Reorganize and rewrite examples 2018-09-20 16:45:30 -07:00
duck-typed-interfaces guide: Add section on working with duck-typed interfaces 2018-09-11 16:40:32 -07:00
fetch Reorganize and rewrite examples 2018-09-20 16:45:30 -07:00
guide-supported-types-examples Reorganize and rewrite examples 2018-09-20 16:45:30 -07:00
hello_world Reorganize and rewrite examples 2018-09-20 16:45:30 -07:00
import_js Reorganize and rewrite examples 2018-09-20 16:45:30 -07:00
julia_set Reorganize and rewrite examples 2018-09-20 16:45:30 -07:00
no_modules Reorganize and rewrite examples 2018-09-20 16:45:30 -07:00
paint Reorganize and rewrite examples 2018-09-20 16:45:30 -07:00
performance Reorganize and rewrite examples 2018-09-20 16:45:30 -07:00
wasm2js Reorganize and rewrite examples 2018-09-20 16:45:30 -07:00
wasm-in-wasm Reorganize and rewrite examples 2018-09-20 16:45:30 -07:00
webaudio Reorganize and rewrite examples 2018-09-20 16:45:30 -07:00
webgl Reorganize and rewrite examples 2018-09-20 16:45:30 -07:00
README.md Reorganize and rewrite examples 2018-09-20 16:45:30 -07:00

Examples

This directory contains a number of Cargo projects that are all examples of how to use wasm-bindgen in various contexts. More documentation can be found online