Expand description
WebAssembly bindings for the WebUI framework.
This crate can be built as three WASM variants:
- handler - render pre-built protocol bytes with state.
- parser - build protocol bytes from virtual files.
- all - parser plus handler exports for playground-style live preview.
Functions§
- build_
protocol - Build protocol protobuf bytes from virtual files without rendering.
- protocol_
tokens - Extract the CSS token name list from protocol protobuf bytes.
- render
- Render a pre-built WebUI protocol with state data, streaming chunks to a callback.
- render_
component_ templates - Return component template payloads for requested component tags.
- render_
partial - Produce a complete JSON partial response for client-side navigation.