Workspace โบ detachLeavesOfType
Workspace.detachLeavesOfType() method
Remove all leaves of the given type.
Signature:
detachLeavesOfType(viewType: string): void;Parameters
| Parameter | Type | Description |
|---|---|---|
viewType | string |
Returns:
void
1 min read
Workspace โบ detachLeavesOfType
Remove all leaves of the given type.
Signature:
detachLeavesOfType(viewType: string): void;| Parameter | Type | Description |
|---|---|---|
viewType | string |
Returns:
void