Skip to main content

first_paint

Function first_paint 

Source
pub fn first_paint(source: &str) -> Result<String, String>
Expand description

The page’s markup: the first paint of the page’s own lowered program, the one its module runs, drawn in process, or the reason it cannot be rendered without a browser. largo build writes it into the document it ships, and assemble_preview_painted into a preview’s frame; either way the page’s mount adopts it (data-logos-prerendered) rather than drawing it again.