Skip to main content

canvas

Function canvas 

Source
pub fn canvas(served: &ServedFolder, path: &str, theme: Option<Theme>) -> String
Expand description

The canvas page for the design at path in served: the design fills the window, drawn by the design script — in theme when the address names one, set before the page paints and never remembered.