blockly > WorkspaceSvg > getWidth

WorkspaceSvg.getWidth() method

Returns the horizontal offset of the workspace. Intended for LTR/RTL compatibility in XML.

Signature:

getWidth(): number;

Returns:

number

Width.