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

ParameterTypeDescription
callback(leaf: WorkspaceLeaf) โ‡’ any

Returns:

void