Workspace.createLeafInTabGroup method
Workspace › createLeafInTabGroup
Unofficial
Create a leaf in the selected tab group or last used tab group.Signature:
createLeafInTabGroup(tabs?: WorkspaceTabs | undefined): WorkspaceLeafParameters:
| Parameter | Type | Description |
|---|---|---|
| tabs? | WorkspaceTabs | undefined | Tab group to create leaf in. |
Returns: WorkspaceLeaf — The leaf that was created.