The UndoManagerController is responsible for all communication regarding the Undo-Manager. Methods inside this controller can be called by window.SDK.undoManager.{method-name}

Hierarchy

  • UndoManagerController

Methods

Methods

  • Record any operations in the current scope. This will automatically begin the undo operation. Once you leave the record scope, it will end the undo operation. Even if you throw an exception inside the record scope it will still end it properly.

    Returns

    Parameters

    • operationName: string
    • undoOperationCallback: ((sdk: default) => void)

    Returns Promise<void>

Generated using TypeDoc