pub fn render_surface_html(
surface: &UiSurface,
options: &HtmlRenderOptions,
) -> StringExpand description
Render a UiSurface as embeddable HTML.
Deserializes each Value in surface.components into a Component.
Values that fail deserialization are rendered as <!-- unknown component -->.
Wraps output in a minimal self-contained HTML shell with inline styles only.