Function pinwheel::elements::html::canvas[][src]

pub fn canvas() -> CanvasElement
Expand description

Use the HTML <canvas> element with either the canvas scripting API or the WebGL API to draw graphics and animations.