Skip to main content

Module html

Module html 

Source
Expand description

HTML renderer for converting Component trees into clean, embeddable HTML.

This module provides two public entry points:

Both produce self-contained HTML with inline styles only (no external CSS/JS).

Structs§

HtmlRenderOptions
Options for HTML rendering.

Enums§

BandwidthMode
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.