canvas property
JSObject
get
canvas
The WebGLRenderingContext.canvas property is a read-only
reference to the HTMLCanvasElement or OffscreenCanvas
object that is associated with the context. It might be
null
if it is not
associated with a canvas element or an OffscreenCanvas
object.
Implementation
external JSObject get canvas;