Skip to content

Workspace.onLayoutChange method

Workspace › onLayoutChange

Unofficial

Handles layout change and saves layout to disk

Signature:

onLayoutChange(leaf?: WorkspaceLeaf | undefined): void

Parameters:

Parameter Type Description
leaf? WorkspaceLeaf | undefined The leaf that changed, if any.

Returns: void