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): WorkspaceWindowParameters:
| Parameter | Type | Description |
|---|---|---|
| leaf | WorkspaceLeaf | The leaf. |
| data? | WorkspaceWindowInitData | undefined | The size and position of the popout window. |
Returns: WorkspaceWindow
Since: 0.15.4