Skip to content

Workspace.createLeafInTabGroup method

Workspace › createLeafInTabGroup

Unofficial

Create a leaf in the selected tab group or last used tab group.

Signature:

createLeafInTabGroup(tabs?: WorkspaceTabs | undefined): WorkspaceLeaf

Parameters:

ParameterTypeDescription
tabs?WorkspaceTabs | undefinedTab group to create leaf in.

Returns: WorkspaceLeafThe leaf that was created.