Element.canvas()

Creates a new <canvas> element.

This is equivalent to calling new Element.tag('canvas').

Source

factory Element.canvas() => new CanvasElement();