Skip to content

Workspace.pushUndoHistory method

Workspace › pushUndoHistory

Unofficial

Push leaf change to history

Signature:

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

Parameters:

Parameter Type Description
leaf WorkspaceLeaf The leaf to push.
parentID string The parent ID.
rootID string The root ID.

Returns: void