blockly > utils > Metrics > viewWidth

utils.Metrics.viewWidth property

Width of the visible portion of the workspace.

Signature:

viewWidth: number;