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
Parameter | Type | Description |
---|---|---|
leaf | WorkspaceLeaf | |
data | WorkspaceWindowInitData | (Optional) |
Returns:
Exceptions
Error if the app does not support popout windows (i.e. on mobile or if Electron version is too old)