Function: hideIfOwnerIsInWorkspace()
function hideIfOwnerIsInWorkspace(workspace): void;
Defined in: packages/blockly/core/widgetdiv.ts:256
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.
Parameters
| Parameter | Type | Description |
|---|---|---|
workspace | WorkspaceSvg | The workspace that was using this container. |
Returns
void