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
Parameter | Type | Description |
---|---|---|
workspace | WorkspaceSvg | The workspace that was using this container. |
Returns:
void