Workspace โ€บ moveLeafToPopout

Workspace.moveLeafToPopout() method

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

Signature:

moveLeafToPopout(leaf: WorkspaceLeaf, data?: WorkspaceWindowInitData): WorkspaceWindow;

Parameters

ParameterTypeDescription
leafWorkspaceLeaf
dataWorkspaceWindowInitData(Optional)

Returns:

WorkspaceWindow

Exceptions

Error if the app does not support popout windows (i.e. on mobile or if Electron version is too old)