Crate egui_web[−][src]
egui bindings for web apps (compiling to WASM).
This library is an epi backend.
If you are writing an app, you may want to look at eframe instead.
Re-exports
pub use backend::*; |
pub use wasm_bindgen; |
pub use web_sys; |
Modules
| backend | |
| webgl1 | |
| webgl2 | Mostly a carbon-copy of |
Structs
| AppRunnerRef | |
| LocalStorage |
Traits
| Painter |
Functions
| button_from_mouse_event | |
| canvas_element | |
| canvas_element_or_die | |
| canvas_size_in_points | |
| console_error | Log an error to the developer console ( |
| console_log | Log some text to the developer console ( |
| console_warn | Log a warning to the developer console ( |
| handle_output | |
| load_memory | |
| local_storage | |
| local_storage_get | |
| local_storage_remove | |
| local_storage_set | |
| location_hash | e.g. "#fragment" part of "www.example.com/index.html#fragment" |
| native_pixels_per_point | |
| now_sec | Current time in seconds (since undefined point in time) |
| open_url | |
| pos_from_mouse_event | |
| pos_from_touch_event | |
| resize_canvas_to_screen_size | |
| save_memory | |
| screen_size_in_native_points | |
| seconds_since_midnight | |
| set_cursor_icon | |
| spawn_future | |
| translate_key | Web sends all all keys as strings, so it is up to us to figure out if it is a real text input or the name of a key. |
Attribute Macros
| wasm_bindgen |