Function moxie_dom::elements::scripting::canvas [−][src]
pub fn canvas() -> CanvasBuilder
Expand description
Use the HTML <canvas>
element with either the canvas scripting API or the
WebGL API to draw graphics and animations.
A function for creating a builder which will accept attributes and produce the element.