SheetXL - v0.3.20
    Preparing search index...

    Class TransactionUndoManager

    UndoManager that wraps transaction commits and restores these.

    Hierarchy (View Summary)

    Index

    Constructors

    Accessors

    • get maxStack(): number

      Returns number

    Methods

    • Close the undo manager and remove the listener.

      Returns void

    • Returns true if there are redo actions on the stack.

      Returns boolean

      These can be either as a result of an undo or a repeatable action.

    • Returns true if there are undo actions on the stack.

      Returns boolean

    • Redo the last redo actions on the stack.

      Parameters

      • Optionalcount: number

        number of actions to undo, default is 1.

      Returns void

      The redo stack a list of all items that have an undo. Adding another item to the undo stack

    • Sets repeatable action.

      Parameters

      Returns void

      A repeatable action is an action that a user can do multiple times 'usually on various selections'. For example styling a field adding a similar operation to the undo stack is usually expected and has to be done done separately by the caller.

      • Clears the redo stack and does NOT add this operation to the undo stack.
    • Undo the last actions on the stack.

      Parameters

      • Optionalcount: number

        number of actions to undo, default is 1.

      Returns void