Provides methods for undo/redo functionality.

Implements

Constructors

Properties

Accessors

Methods

Constructors

Properties

autoBatchEnabled: boolean = false

Whether synchronous updates should be batched automatically.

Accessors

  • get canRedo(): boolean

    Indicates whether redo is available.

    Returns boolean

  • get canUndo(): boolean

    Indicates whether undo is available.

    Returns boolean

Methods

  • Clears the history.

    Returns void

  • Writes undo/redo commands to history.

    Parameters

    • undo: VoidFunction
    • redo: VoidFunction

    Returns void

  • Repeats the last undone command.

    Returns void

  • Undoes the last command.

    Returns void

MMNEPVFCICPMFPCPTTAAATR