Expand description
WebAssembly bindings for the WebUI framework.
This crate exposes the WebUI rendering pipeline to JavaScript via wasm-bindgen,
powering the interactive playground in the documentation site.
Two modes of operation:
renderโ Takes a pre-built protocol (JSON) + state and renders HTML.build_and_renderโ Takes virtual files + state, parses and renders HTML using the realwebui-parser(same parser used by the CLI).
Functionsยง
- build_
and_ render - Build and render a WebUI application from virtual files.
- build_
protocol - Build the protocol JSON from virtual files without rendering.
- render
- Render a pre-built WebUI protocol with state data.
- render_
component_ templates - render_
partial - Produce a complete JSON partial response for client-side navigation.