Skip to content

Workspace.detachLeavesOfType method

Workspace › detachLeavesOfType

Official

Remove all leaves of the given type.

Signature:

detachLeavesOfType(viewType: string): void

Parameters:

ParameterTypeDescription
viewTypestring

Returns: void

Since: 0.9.7