Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • UndoManager

Index

Constructors

Properties

internal
suspendTracking: boolean = false
internal
undoStates: {} = {}
internal

Type declaration

Methods

  • Parameters

    • modelUnitId: string

    Returns UndoState

  • withCustomUndoRedo<T>(unitId: string, customAction: { action: any; undoAction: any }): T
  • Type parameters

    • T

    Parameters

    • unitId: string
    • customAction: { action: any; undoAction: any }
      • action:function
        • action(): T
        • Returns T

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

    Returns T

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

    • T

    Parameters

    • performAction: () => T
        • (): T
        • Returns T

    Returns T

Generated using TypeDoc