canvas

Function canvas 

Source
pub fn canvas(id: &str) -> Result<HtmlCanvasElement, String>
Expand description

Gets a canvas by the given id or create it if it does not exists.