blockly > WorkspaceSvg > zoomToFit

WorkspaceSvg.zoomToFit() method

Zoom the blocks to fit in the workspace if possible.

Signature:

zoomToFit(): void;

Returns:

void