Workspace โบ iterateAllLeaves
Workspace.iterateAllLeaves() method
Iterate through all leaves, including main area leaves, floating leaves, and sidebar leaves.
Signature:
iterateAllLeaves(callback: (leaf: WorkspaceLeaf) => any): void;Parameters
| Parameter | Type | Description |
|---|---|---|
callback | (leaf: WorkspaceLeaf) โ any |
Returns:
void