Skip to content

Workspace.moveLeafToPopout method

Workspace › moveLeafToPopout

Official

Migrates this leaf to a new popout window. Only works on the desktop app.

Signature:

moveLeafToPopout(leaf: WorkspaceLeaf, data?: WorkspaceWindowInitData | undefined): WorkspaceWindow

Parameters:

ParameterTypeDescription
leafWorkspaceLeafThe leaf.
data?WorkspaceWindowInitData | undefinedThe size and position of the popout window.

Returns: WorkspaceWindow

Since: 0.15.4