rust-webplatform
A Rust library for use with emscripten to access the DOM.
Read the documentation, read brson's post on how Rust works with emscripten, or see an example app with rust-todomvc.
extern crate webplatform;
use HtmlNode;
let body = query.unwrap;
body.html_set;
let mut button = query.unwrap;
button.on;
Used with cargo build --target=asmjs-unknown-emscripten
.
License
MIT or Apache-2.0, at your option.