![]() A lot of the `eframe` API is native-only or web-only. With this PR, only the parts that are implemented for each platform is exposed. This means you'll need to add `#[cfg(target_arch = "wasm32")]` around code that uses the web-parts of the eframe API, and add `#[cfg(not(target_arch = "wasm32"))]` around the parts that are for native/desktop. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
egui demo app
This app demonstrates egui
and eframe
.
View the demo app online at https://egui.rs.
Run it locally with cargo run --release -p egui_demo_app
.
egui_demo_app
can be compiled to WASM and viewed in a browser locally with:
./sh/start_server.sh &
./sh/build_demo_web.sh --fast --open
egui_demo_app
uses egui_demo_lib
.