Expand description
§Web UI
webui
is a website framework for building webassembly SPA websites quickly and easily.
Development is just getting started, so we do not recommend using at this point for anything more than experimenting.
Re-exports§
pub use prelude::*;
Modules§
- Constants used throughout the application
- Errors
- Global methods and helpers
- Javascript interop and related macros
- Generalized macros
- Shortcut for all common components
Macros§
- Macro for quickly logging data to the browser’s console.log
- Simplify use of serde_json::to_string(&json!(…)).unwrap_or_default() to serialize data into a json string.
- Extract the value of an option, or return from the current method if the option is None. Default return on None is
()
. Optionally pass desired return from None as second option. Example: - Macro for running a method after a timeout
- Macro for spawning an async process
Constants§
Functions§
- Initializer to run in app main() to start application/website