blockly > WidgetDiv > hideIfOwnerIsInWorkspace

WidgetDiv.hideIfOwnerIsInWorkspace() 函式

如果 div 是由指定工作區中的物件使用,或是由不明工作區使用,則會銷毀小工具並隱藏 div。

Signature:

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

參數

參數 類型 說明
工作區 WorkspaceSvg 使用這個容器的工作區。

退貨:

void