Skip to content

Workspace.pushUndoHistory method

Workspace › pushUndoHistory

Unofficial

Push leaf change to history

Signature:

pushUndoHistory(leaf: WorkspaceLeaf, parentID: string, rootID: string): void

Parameters:

ParameterTypeDescription
leafWorkspaceLeafThe leaf to push.
parentIDstringThe parent ID.
rootIDstringThe root ID.

Returns: void