blockly > WorkspaceSvg > hideComponents

WorkspaceSvg.hideComponents() method

Hide any autohideable components (like flyout, trashcan, and any user-registered components).

Signature:

hideComponents(onlyClosePopups?: boolean): void;

Parameters

Parameter Type Description
onlyClosePopups boolean (Optional) Whether only popups should be closed. Defaults to false.

Returns:

void