Skip to main content

Home > blockly > WidgetDiv > hideIfOwnerIsInWorkspace

WidgetDiv.hideIfOwnerIsInWorkspace() function

Destroy the widget and hide the div if it is being used by an object in the specified workspace, or if it is used by an unknown workspace.

Signature:

export declare function hideIfOwnerIsInWorkspace(workspace: WorkspaceSvg): void;

Parameters

ParameterTypeDescription
workspaceWorkspaceSvgThe workspace that was using this container.

Returns:

void