egui/crates/eframe/src/web
Emil Ernerfeldt ea71b7f20b
eframe web: detect and report panics during startup (#2992)
* Detect panics during initialization and show them to the user

* PanicHandler now also logs the panics

* Add example of how to call into your app from JS

* Refactor: break out AppRunner and AppRunnerRef to own files

* Hide AppRunner

* Simplify user code

* AppRunnerRef -> WebRunner

* Better docs

* Don't paint until first animation frame

* Update multiple_apps.html

* Update web demo

* Cleanup and fixes

* left-align panic message in html
2023-05-16 22:22:09 +02:00
..
app_runner.rs eframe web: detect and report panics during startup (#2992) 2023-05-16 22:22:09 +02:00
backend.rs eframe web: detect and report panics during startup (#2992) 2023-05-16 22:22:09 +02:00
events.rs eframe web: detect and report panics during startup (#2992) 2023-05-16 22:22:09 +02:00
input.rs Add helpers for zooming an app using Ctrl+Plus and Ctrl+Minus (#2239) 2022-11-05 11:18:13 +01:00
mod.rs eframe web: detect and report panics during startup (#2992) 2023-05-16 22:22:09 +02:00
panic_handler.rs eframe web: detect and report panics during startup (#2992) 2023-05-16 22:22:09 +02:00
screen_reader.rs Replace `tracing` with `log` (#2928) 2023-04-18 21:11:26 +02:00
storage.rs Log warning instead of error when failing to decode RON in storage (#2961) 2023-04-27 09:45:44 +02:00
text_agent.rs eframe web: detect and report panics during startup (#2992) 2023-05-16 22:22:09 +02:00
web_logger.rs Log warning instead of error when failing to decode RON in storage (#2961) 2023-04-27 09:45:44 +02:00
web_painter.rs Clear color values are now explicitely sent to the rendering backend as-is. (#2666) 2023-02-04 11:02:15 +01:00
web_painter_glow.rs Replace `tracing` with `log` (#2928) 2023-04-18 21:11:26 +02:00
web_painter_wgpu.rs [wgpu] Expose wgpu::Adapter via RenderState (#2954) 2023-04-25 17:42:13 +02:00
web_runner.rs eframe web: detect and report panics during startup (#2992) 2023-05-16 22:22:09 +02:00