Workspace.getLeftLeaf method
Workspace › getLeftLeaf
Official
Create a new leaf inside the left sidebar.Signature:
getLeftLeaf(split: boolean): WorkspaceLeaf | nullParameters:
| Parameter | Type | Description |
|---|---|---|
| split | boolean | Whether to create the leaf in a new tab group instead of as a new tab in the existing one. |
Returns: WorkspaceLeaf | null
Since: 0.9.7