blockly > WidgetDiv > hideIfOwner
WidgetDiv.hideIfOwner() function
Destroy the widget and hide the div if it is being used by the specified object.
Signature:
export declare function hideIfOwner(oldOwner: unknown): void;
Parameters
Parameter | Type | Description |
---|---|---|
oldOwner | unknown | The object that was using this container. |
Returns:
void