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 | |
| data? | WorkspaceWindowInitData | undefined | *(Optional)* |
Returns: WorkspaceWindow
Since: 0.15.4