[−][src]Function canvas_display::utils::canvas
pub fn canvas(id: &str) -> Result<HtmlCanvasElement, String>
Gets a canvas by the given id or create it if it does not exists.
pub fn canvas(id: &str) -> Result<HtmlCanvasElement, String>
Gets a canvas by the given id or create it if it does not exists.