canvas

external val canvas: EventTarget(source)

The canvas read-only property of the GPUCanvasContext interface returns a reference to the canvas that the context was created from.

MDN Reference