Crate webui

Source
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
Constants used throughout the application
errors
Errors
global
Global methods and helpers
interop
Javascript interop and related macros
macros
Generalized macros
prelude
Shortcut for all common components

Macros§

jslog
Macro for quickly logging data to the browser’s console.log
json_string
Simplify use of serde_json::to_string(&json!(…)).unwrap_or_default() to serialize data into a json string.
option
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:
set_timeout
Macro for running a method after a timeout
spawn_async
Macro for spawning an async process

Constants§

IS_TAURI_APP
VERSION

Functions§

start_app
Initializer to run in app main() to start application/website