Function leptos::html::canvas

source ·
pub fn canvas(cx: Scope) -> HtmlElement<Canvas>
Expand description

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