create_canvas

Function create_canvas 

Source
pub fn create_canvas(
    width: u32,
    height: u32,
) -> Result<HtmlCanvasElement, String>
Expand description

Creates a new canvas width given with and height.