Skip to content

Workspace.getRightLeaf method

Workspace › getRightLeaf

Official

Create a new leaf inside the right sidebar.

Signature:

getRightLeaf(split: boolean): WorkspaceLeaf | null

Parameters:

ParameterTypeDescription
splitbooleanShould the existing split be split up?

Returns: WorkspaceLeaf | null

Since: 0.9.7