mirror of
https://github.com/rustwasm/wasm-bindgen.git
synced 2024-12-14 20:11:37 +03:00
fffcc5ef35
``` child.push(&JsValue::from(&item.title)); child.push(&JsValue::from(item.completed)); child.push(&JsValue::from(&item.id)); ``` Parallel syntax makes it easier to see that each iteration intends to push each of `item`'s fields to `child`. |
||
---|---|---|
.. | ||
add | ||
canvas | ||
char | ||
closures | ||
console_log | ||
dom | ||
duck-typed-interfaces | ||
fetch | ||
guide-supported-types-examples | ||
hello_world | ||
import_js | ||
julia_set | ||
paint | ||
performance | ||
raytrace-parallel | ||
request-animation-frame | ||
todomvc | ||
wasm2js | ||
wasm-in-wasm | ||
webaudio | ||
webgl | ||
websockets | ||
without-a-bundler | ||
without-a-bundler-no-modules | ||
.gitignore | ||
README.md |
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