Expand description
HTML renderer for converting Component trees into clean, embeddable HTML.
This module provides two public entry points:
render_components_html— typed path forVec<Component>render_surface_html— deserializesVec<Value>from aUiSurface
Both produce self-contained HTML with inline styles only (no external CSS/JS).
Structs§
- Html
Render Options - Options for HTML rendering.
Enums§
- Bandwidth
Mode - Bandwidth mode controlling adaptive rendering.
Functions§
- escape_
html - Escape user-provided text to prevent HTML injection.
- render_
components_ html - Render typed components directly to HTML.
- render_
surface_ html - Render a UiSurface as embeddable HTML.