Webbing: DOM APIs for Rust
Crate Info Documentation

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.

```rust extern crate webbing;

fn main() { let document = webbing::init(); let body = document.elementquery("body").unwrap(); body.htmlset("

HELLO FROM RUST

"); let button = document.elementquery("button").unwrap(); button.on("click", || webbing::alert("WITNESS ME")); } ```

Used with cargo build --target=asmjs-unknown-emscripten.

License

MIT or Apache-2.0, at your option. A fork of the original rust-webplatform.