Skip to content

Workspace.detachLeavesOfType method

Workspace › detachLeavesOfType

Official

Remove all leaves of the given type.

Signature:

detachLeavesOfType(viewType: string): void

Parameters:

ParameterTypeDescription
viewTypestringThe view type.

Returns: void

Since: 0.9.7