height property returns and sets the height of an
var pxl = offscreen.height; offscreen.height = pxl;
Creating a new offscreen canvas and returning or setting the height of the offscreen canvas:
var offscreen = new OffscreenCanvas(256, 256); offscreen.height; // 256 offscreen.height = 512;
|HTML Living Standard
The definition of 'OffscreenCanvas.height' in that specification.
BCD tables only load in the browser
OffscreenCanvas, the interface this property belongs to.