Skip to main content

assemble_preview_painted

Function assemble_preview_painted 

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

assemble_preview with the page’s first_paint already in the frame’s body, marked for the page’s mount to adopt, so the frame shows the page the moment its document parses rather than once its module has run, and a frame that reloads with the same page shows it throughout. A program with no first paint is previewed as assemble_preview previews it.