Skip to content

Workspace.detachLeavesOfType method

Workspace › detachLeavesOfType

Official

Remove all leaves of the given type.

Signature:

detachLeavesOfType(viewType: string): void

Parameters:

Parameter Type Description
viewType string

Returns: void

Since: 0.9.7