Simon 02b22d1737
Allow all global event handlers to be used as listeners (#1244)
* list all listener attributes

* add handlers for web_sys

* implement for stdweb

* update list of event handlers

* rename doubleclick to dblclick

* add error for unsupported listeners (stdweb)

* remove cfg-if dependency
2020-05-19 20:27:28 +08:00
..

Yew Examples

Running the examples

To start an example, enter its directory and start it with cargo-web:

cargo web start

To run an optimized build instead of a debug build use:

cargo web start --release

The wasm32-unknown-unknown target will be used by default, which is Rust's native WebAssembly target. The Emscripten-based wasm32-unknown-emscripten and asmjs-unknown-emscripten targets are also supported if you tell the cargo-web to build for them using the --target parameter.