Workspace.getRightLeaf method
Workspace › getRightLeaf
Official
Create a new leaf inside the right sidebar.Signature:
getRightLeaf(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