Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UndoManager

Hierarchy

  • UndoManager

Index

Constructors

constructor

Methods

getUndoState

  • getUndoState(modelUnitId: string): UndoState
  • Parameters

    • modelUnitId: string

    Returns UndoState

withCustomUndoRedo

  • withCustomUndoRedo<T>(unitId: string, customAction: object): T
  • Type parameters

    • T

    Parameters

    • unitId: string
    • customAction: object
      • action: function
          • (): T
          • Returns T

      • undoAction: function
          • (): void
          • Returns void

    Returns T

withoutUndo

  • withoutUndo<T>(performAction: function): T
  • Type parameters

    • T

    Parameters

    • performAction: function
        • (): T
        • Returns T

    Returns T

Generated using TypeDoc