HTMLCanvasElement¶
interface HTMLCanvasElement : JsAny
Properties¶
height¶
width¶
Functions¶
getCanvasSurface¶
Returns the WebGPU canvas surface of this canvas, or fails when the browser has none.
getContext¶
abstract fun getContext(contextId: String): WGPUCanvasContext?