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:

Parameter Type Description
tabs? WorkspaceTabs | undefined Tab group to create leaf in.

Returns: WorkspaceLeafThe leaf that was created.